diff --git a/Cargo.lock b/Cargo.lock index 012d004a..5f7df2b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7228,7 +7228,6 @@ dependencies = [ "lazy_static", "md-5 0.11.0-rc.3", "moka", - "nix 0.30.1", "num_cpus", "parking_lot", "path-absolutize", @@ -7273,7 +7272,6 @@ dependencies = [ "url", "urlencoding", "uuid", - "winapi", "xxhash-rust", ] @@ -7343,7 +7341,6 @@ dependencies = [ "tempfile", "thiserror 2.0.17", "tokio", - "tokio-test", "tracing", "url", "uuid", diff --git a/Cargo.toml b/Cargo.toml index 258dc8ef..81a3c7af 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -277,7 +277,7 @@ pprof = { version = "0.15.0", features = ["flamegraph", "protobuf-codec"] } [workspace.metadata.cargo-shear] -ignored = ["rustfs", "rustfs-mcp", "tokio-test"] +ignored = ["rustfs", "rustfs-mcp"] [profile.release] opt-level = 3 diff --git a/crates/ecstore/Cargo.toml b/crates/ecstore/Cargo.toml index c144bfb9..b2cfda4d 100644 --- a/crates/ecstore/Cargo.toml +++ b/crates/ecstore/Cargo.toml @@ -108,12 +108,6 @@ google-cloud-auth = { workspace = true } aws-config = { workspace = true } faster-hex = { workspace = true } -[target.'cfg(not(windows))'.dependencies] -nix = { workspace = true } - -[target.'cfg(windows)'.dependencies] -winapi = { workspace = true } - [dev-dependencies] tokio = { workspace = true, features = ["rt-multi-thread", "macros"] } diff --git a/crates/kms/Cargo.toml b/crates/kms/Cargo.toml index 5e9e0159..912121c6 100644 --- a/crates/kms/Cargo.toml +++ b/crates/kms/Cargo.toml @@ -61,7 +61,6 @@ reqwest = { workspace = true } vaultrs = { workspace = true } [dev-dependencies] -tokio-test = { workspace = true } tempfile = { workspace = true } [features] diff --git a/crates/notify/Cargo.toml b/crates/notify/Cargo.toml index bdccac6c..707c5bd2 100644 --- a/crates/notify/Cargo.toml +++ b/crates/notify/Cargo.toml @@ -28,7 +28,6 @@ documentation = "https://docs.rs/rustfs-notify/latest/rustfs_notify/" [dependencies] rustfs-config = { workspace = true, features = ["notify", "constants"] } rustfs-ecstore = { workspace = true } -rustfs-utils = { workspace = true, features = ["path", "sys"] } rustfs-targets = { workspace = true } async-trait = { workspace = true } chrono = { workspace = true, features = ["serde"] } @@ -40,7 +39,6 @@ rayon = { workspace = true } rumqttc = { workspace = true } rustc-hash = { workspace = true } serde = { workspace = true } -serde_json = { workspace = true } starshard = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true, features = ["rt-multi-thread", "sync", "time"] } @@ -52,6 +50,8 @@ wildmatch = { workspace = true, features = ["serde"] } tokio = { workspace = true, features = ["test-util"] } tracing-subscriber = { workspace = true, features = ["env-filter"] } axum = { workspace = true } +rustfs-utils = { workspace = true, features = ["path", "sys"] } +serde_json = { workspace = true } [lints] workspace = true