Skip to content

Commit

Permalink
Upgrade thiserror
Browse files Browse the repository at this point in the history
  • Loading branch information
izderadicka committed Jan 20, 2025
1 parent 3869152 commit e579402
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 45 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ rust-version = "1.72"
[workspace]
members = ["crates/*"]

[workspace.dependencies]
thiserror = "2.0.11"

[dependencies]

bytes = "1.6"
Expand All @@ -23,7 +26,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
clap = { version = "4", features = ["cargo", "env"] }
lazy_static = "1.4"
thiserror = "2.0"
thiserror.workspace = true
anyhow = "1.0.82"
url = "2.5"
percent-encoding = "2.3"
Expand Down
6 changes: 3 additions & 3 deletions crates/async-zip/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ edition = "2021"

[dependencies]
futures = "0.3"
tokio = {version="1.37", features=["full"]}
tokio = { version = "1.37", features = ["full"] }
bytes = "1.6"
chrono = "0.4"
thiserror = "2.0"
thiserror.workspace = true
crc32fast = "1.4"

[dev-dependencies]
zip = {version="2.0.0", default-features=false}
zip = { version = "2.0.0", default-features = false }
23 changes: 14 additions & 9 deletions crates/collection/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dev-dependencies]
serde_json ="1.0.116"
serde_json = "1.0.116"
env_logger = "0.11.3"
tempdir = "0.3.7"
fs_extra = "1.3"
anyhow = "1.0.82"

[dependencies]

media_info = {path="../media_info"}
sled = {version="0.34", features=["compression"]}
thiserror = "2.0"
serde = {version="1.0", features=["derive"]}
media_info = { path = "../media_info" }
sled = { version = "0.34", features = ["compression"] }
thiserror.workspace = true
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.116"
lazy_static = "1.4"
log="0.4"
log = "0.4"
regex = "1.10"
csv = "1.3"
mime_guess = "2.0"
Expand All @@ -33,8 +33,10 @@ notify = "7.0"
crossbeam-channel = "0.5"
enum_dispatch = "0.3"

tokio = {version="1", optional=true, features=["rt"]}
rust_icu_ucol = {version="5.0", default-features=false, features=["renaming"], optional=true}
tokio = { version = "1", optional = true, features = ["rt"] }
rust_icu_ucol = { version = "5.0", default-features = false, features = [
"renaming",
], optional = true }
indexmap = "2.2.6"

[features]
Expand All @@ -43,5 +45,8 @@ static = ["media_info/static"]
async = ["tokio"]
symlinks = []
collation = ["rust_icu_ucol/use-bindgen", "rust_icu_ucol/icu_config"]
collation-static = ["rust_icu_ucol/renaming", "rust_icu_ucol/icu_version_in_env"]
collation-static = [
"rust_icu_ucol/renaming",
"rust_icu_ucol/icu_version_in_env",
]
tags-encoding = ["media_info/alternate-encoding"]
10 changes: 4 additions & 6 deletions crates/file-cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,17 @@ edition = "2021"
linked-hash-map = "0.5.6"
rand = "0.8"
data-encoding = "2.6"
thiserror ="2.0"
thiserror.workspace = true
log = "0.4"
byteorder = "1.5"

tokio = { version="1.37", optional=true, features=[ "rt", "fs"] }
tokio = { version = "1.37", optional = true, features = ["rt", "fs"] }


[features]
asynch = ["tokio"]

[dev-dependencies]
env_logger = "0.11.3"
tempfile ="3.10.1"
tokio = { version="1.37", features=["io-util", "macros",] }


tempfile = "3.10.1"
tokio = { version = "1.37", features = ["io-util", "macros"] }
15 changes: 7 additions & 8 deletions crates/media_info/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@ edition = "2021"
build = "build.rs"

[dependencies]
thiserror = "2.0"
encoding = {version="0.2", optional=true}
thiserror.workspace = true
encoding = { version = "0.2", optional = true }

[dev-dependencies]
clap ={version="4", features=["derive"]}
clap = { version = "4", features = ["derive"] }

[build-dependencies]
pkg-config="0.3.30"
pkg-config = "0.3.30"

[features]
static=[]
partially-static=[]
alternate-encoding=["encoding"]

static = []
partially-static = []
alternate-encoding = ["encoding"]
10 changes: 5 additions & 5 deletions crates/websock/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ edition = "2018"

[dependencies]

hyper = {version="1.4", features=[]}
tokio = {version="1.37", features=["rt-multi-thread", "time"]}
hyper = { version = "1.4", features = [] }
tokio = { version = "1.37", features = ["rt-multi-thread", "time"] }
futures = "0.3"
log = "0.4"
tokio-tungstenite = "0.24.0"
thiserror = "2.0"
thiserror.workspace = true
headers = "0.4.0"
http-body-util = "0.1.1"
hyper-util = { version = "0.1.3", features = ["tokio"] }

[dev-dependencies]
env_logger = "0.11.3"
hyper = {version="1.4", features=["server", "http1", "http2", "server"]}
tokio = {version="1.37", features=["macros", "io-util", "fs", "net"]}
hyper = { version = "1.4", features = ["server", "http1", "http2", "server"] }
tokio = { version = "1.37", features = ["macros", "io-util", "fs", "net"] }

0 comments on commit e579402

Please sign in to comment.