diff --git a/Cargo.toml b/Cargo.toml index 6ebcfc45..b373d0c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index 44c31c79..6a63b35c 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -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 @@ -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 } diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index 5d71c5e8..3bca41b4 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -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 @@ -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 @@ -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 } @@ -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" @@ -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 } diff --git a/crates/core/src/id.rs b/crates/core/src/id.rs index e88c8675..1e29faee 100644 --- a/crates/core/src/id.rs +++ b/crates/core/src/id.rs @@ -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")]