Skip to content

Commit

Permalink
dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
aawsome committed Aug 18, 2024
1 parent 0f08abd commit a6897cd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rustic_testing = { path = "crates/testing" }
simplelog = "0.12.2"

# dev-dependencies
rstest = "0.21.0"
rstest = "0.22.0"
tempfile = "3.12.0"

# see: https://nnethercote.github.io/perf-book/build-configuration.html
Expand Down
10 changes: 5 additions & 5 deletions crates/backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ strum_macros = "0.26"

# general / backend choosing
hex = { version = "0.4.3", features = ["serde"] }
serde = { version = "1.0.205" }
serde = { version = "1.0.208" }
url = "2.5.2"

# cli support
clap = { version = "4.5.15", optional = true, features = ["derive", "env", "wrap_help"] }
clap = { version = "4.5.16", optional = true, features = ["derive", "env", "wrap_help"] }
merge = { version = "0.1.0", optional = true }

# local backend
Expand All @@ -84,15 +84,15 @@ semver = { version = "1.0.23", optional = true }
# opendal backend
bytesize = "1.3.0"
rayon = { version = "1.10.0", optional = true }
tokio = { version = "1.39.2", optional = true, default-features = false }
tokio = { version = "1.39.3", optional = true, default-features = false }

[target.'cfg(not(windows))'.dependencies]
# opendal backend - sftp is not supported on windows, see https://github.com/apache/incubator-opendal/issues/2963
opendal = { version = "0.48.0", features = ["services-b2", "services-sftp", "services-swift", "services-azblob", "services-azdls", "services-cos", "services-fs", "services-gcs", "services-ghac", "services-http", "services-ipmfs", "services-memory", "services-obs", "services-oss", "services-s3", "services-webdav", "services-webhdfs", "services-azfile", "layers-blocking", "layers-throttle"], optional = true }
opendal = { version = "0.49.0", features = ["services-b2", "services-sftp", "services-swift", "services-azblob", "services-azdls", "services-cos", "services-fs", "services-gcs", "services-ghac", "services-http", "services-ipmfs", "services-memory", "services-obs", "services-oss", "services-s3", "services-webdav", "services-webhdfs", "services-azfile", "layers-blocking", "layers-throttle"], optional = true }

[target.'cfg(windows)'.dependencies]
# opendal backend
opendal = { version = "0.48.0", features = ["services-b2", "services-swift", "services-azblob", "services-azdls", "services-cos", "services-fs", "services-gcs", "services-ghac", "services-http", "services-ipmfs", "services-memory", "services-obs", "services-oss", "services-s3", "services-webdav", "services-webhdfs", "services-azfile", "layers-blocking", "layers-throttle"], optional = true }
opendal = { version = "0.49.0", features = ["services-b2", "services-swift", "services-azblob", "services-azdls", "services-cos", "services-fs", "services-gcs", "services-ghac", "services-http", "services-ipmfs", "services-memory", "services-obs", "services-oss", "services-s3", "services-webdav", "services-webhdfs", "services-azfile", "layers-blocking", "layers-throttle"], optional = true }

[dev-dependencies]
rstest = { workspace = true }
Expand Down
14 changes: 7 additions & 7 deletions crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ thiserror = "1.0.63"

# macros
derivative = "2.2.0"
derive_more = "0.99.18"
derive_more = { version = "1.0.0", features = ["add", "constructor", "display"] }
derive_setters = "0.1.6"

# logging
Expand All @@ -72,10 +72,10 @@ scrypt = { version = "0.11.0", default-features = false }
binrw = "0.14.0"
hex = { version = "0.4.3", features = ["serde"] }
integer-sqrt = "0.1.5"
serde = { version = "1.0.205" }
serde = { version = "1.0.208" }
serde-aux = "4.5.0"
serde_derive = "1.0.205"
serde_json = "1.0.122"
serde_derive = "1.0.208"
serde_json = "1.0.125"
serde_with = { version = "3.9.0", features = ["base64"] }

# local source/destination
Expand All @@ -92,7 +92,7 @@ cachedir = "0.3.1"
dirs = "5.0.1"

# cli support
clap = { version = "4.5.15", optional = true, features = ["derive", "env", "wrap_help"] }
clap = { version = "4.5.16", optional = true, features = ["derive", "env", "wrap_help"] }
merge = { version = "0.1.0", optional = true }
shell-words = { version = "1.1.0", optional = true }

Expand All @@ -109,7 +109,7 @@ chrono = { version = "0.4.38", default-features = false, features = ["clock", "s
enum-map = { workspace = true }
enum-map-derive = "0.17.0"
enumset = { version = "1.1.5", features = ["serde"] }
gethostname = "0.4.3"
gethostname = "0.5.0"
humantime = "2.1.0"
itertools = "0.13.0"
quick_cache = "0.6.2"
Expand Down Expand Up @@ -138,7 +138,7 @@ pretty_assertions = "1.4.0"
quickcheck = "1.0.3"
quickcheck_macros = "1.0.0"
rstest = { workspace = true }
rustdoc-json = "0.8.9"
rustdoc-json = "0.9.2"
# We need to have rustic_backend here, because the doc-tests in lib.rs of rustic_core
rustic_backend = { workspace = true }
rustic_testing = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/core/src/id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub(super) mod constants {
BinRead,
Display,
)]
#[display(fmt = "{}", "&self.to_hex()[0..8]")]
#[display("{}", &self.to_hex()[0..8])]
pub struct Id(
/// The actual hash
#[serde(serialize_with = "hex::serde::serialize")]
Expand Down

0 comments on commit a6897cd

Please sign in to comment.