diff --git a/Cargo.lock b/Cargo.lock index b4110e8..fa2506c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3167,12 +3167,9 @@ dependencies = [ "dhat", "enum-display-derive", "futures", - "im", "itertools", "miette", - "nix-compat", "owo-colors", - "serde", "serde_json", "signal-hook", "signal-hook-tokio", diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index f150b81..86895ca 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -12,7 +12,6 @@ dhat-heap = [] [dependencies] clap = { workspace = true } clap-verbosity-flag = { workspace = true } -serde = { workspace = true } tokio = { workspace = true } tracing = { workspace = true } tracing-log = { workspace = true } @@ -22,14 +21,12 @@ serde_json = { workspace = true } miette = { workspace = true } thiserror = { workspace = true } enum-display-derive = "0.1.1" -im = { workspace = true } futures = "0.3.31" clap-num = "1.2.0" clap-markdown = "0.1.5" itertools = "0.14.0" dhat = "0.3.2" clap_complete = { version = "4.5.60", features = ["unstable-dynamic"] } -nix-compat = { workspace = true } owo-colors = { workspace = true } signal-hook-tokio = { version = "0.3.1", features = ["futures-v0_3"] } signal-hook = "0.3.18" diff --git a/nix/hooks.nix b/nix/hooks.nix index 3528d00..855dccd 100644 --- a/nix/hooks.nix +++ b/nix/hooks.nix @@ -45,6 +45,12 @@ '' ); }; + machete = { + enable = true; + name = "cargo-machete"; + files = "\\.(rs|toml)$"; + entry = lib.getExe pkgs.cargo-machete; + }; typos = { enable = true; settings = {