diff --git a/Cargo.lock b/Cargo.lock index 2194b23..4694116 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -457,21 +457,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "futures" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" -dependencies = [ - "futures-channel", - "futures-core", - "futures-executor", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - [[package]] name = "futures-channel" version = "0.3.31" @@ -479,7 +464,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" dependencies = [ "futures-core", - "futures-sink", ] [[package]] @@ -488,17 +472,6 @@ version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e" -[[package]] -name = "futures-executor" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f" -dependencies = [ - "futures-core", - "futures-task", - "futures-util", -] - [[package]] name = "futures-io" version = "0.3.31" @@ -534,7 +507,6 @@ version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ - "futures-channel", "futures-core", "futures-io", "futures-macro", @@ -777,7 +749,6 @@ dependencies = [ "directories", "figment", "figment_file_provider_adapter", - "futures", "log", "pretty_env_logger", "prettyplease", diff --git a/Cargo.toml b/Cargo.toml index f9d163f..d7c6db9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,9 @@ repository = "https://git.enoent.fr/kernald/immich-tools" categories = ["command-line-utilities"] keywords = ["immich"] +[package.metadata.cargo-machete] +ignored = ["progenitor-client", "regress"] + [dependencies] chrono = { version = "0.4.38", features = ["serde"] } clap = { version = "4.5.20", features = ["derive"] } @@ -15,7 +18,6 @@ color-eyre = "0.6.3" directories = "5.0.1" figment = { version = "0.10.19", features = ["env", "toml"] } figment_file_provider_adapter = "0.1.1" -futures = "0.3.31" log = "0.4.22" pretty_env_logger = "0.5.0" progenitor-client = "0.8.0" diff --git a/flake.nix b/flake.nix index 3b0a537..2610eaf 100644 --- a/flake.nix +++ b/flake.nix @@ -20,6 +20,8 @@ name = "immich-tools"; buildInputs = with pkgs; [ cargo + cargo-machete + cargo-sort openssl pkg-config ] ++ lib.optionals stdenv.isDarwin [