diff --git a/Cargo.lock b/Cargo.lock index 3cfec53eb..9217be579 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2539,7 +2539,6 @@ dependencies = [ "anyhow", "bcrypt", "chrono", - "futures", "lemmy_api_common", "lemmy_db_schema", "lemmy_db_views", @@ -2570,7 +2569,6 @@ dependencies = [ "futures", "html2md", "html2text", - "http 1.1.0", "itertools 0.13.0", "lemmy_api_common", "lemmy_db_schema", @@ -2815,7 +2813,6 @@ dependencies = [ "markdown-it-sup", "pretty_assertions", "regex", - "reqwest 0.12.8", "reqwest-middleware", "rosetta-build", "rosetta-i18n", diff --git a/crates/api_common/Cargo.toml b/crates/api_common/Cargo.toml index 4eabfe5f9..8dae46c5b 100644 --- a/crates/api_common/Cargo.toml +++ b/crates/api_common/Cargo.toml @@ -75,6 +75,9 @@ getrandom = { version = "0.2.15", features = ["js"] } [package.metadata.cargo-machete] ignored = ["getrandom"] +[package.metadata.cargo-shear] +ignored = ["getrandom"] + [dev-dependencies] serial_test = { workspace = true } reqwest-middleware = { workspace = true } diff --git a/crates/api_crud/Cargo.toml b/crates/api_crud/Cargo.toml index 2793beac3..05b88e211 100644 --- a/crates/api_crud/Cargo.toml +++ b/crates/api_crud/Cargo.toml @@ -23,7 +23,6 @@ bcrypt = { workspace = true } actix-web = { workspace = true } tracing = { workspace = true } url = { workspace = true } -futures.workspace = true uuid = { workspace = true } moka.workspace = true anyhow.workspace = true diff --git a/crates/apub/Cargo.toml b/crates/apub/Cargo.toml index 660489a68..55eadeaf9 100644 --- a/crates/apub/Cargo.toml +++ b/crates/apub/Cargo.toml @@ -33,7 +33,6 @@ tokio = { workspace = true } tracing = { workspace = true } strum = { workspace = true } url = { workspace = true } -http = { workspace = true } futures = { workspace = true } itertools = { workspace = true } uuid = { workspace = true } diff --git a/crates/utils/Cargo.toml b/crates/utils/Cargo.toml index 1c99e89c2..c22f863c1 100644 --- a/crates/utils/Cargo.toml +++ b/crates/utils/Cargo.toml @@ -49,6 +49,9 @@ full = [ "dep:markdown-it", ] +[package.metadata.cargo-shear] +ignored = ["http"] + [dependencies] regex = { workspace = true, optional = true } tracing = { workspace = true, optional = true } @@ -88,7 +91,6 @@ markdown-it-sup = "1.0.0" markdown-it-ruby = "1.0.0" [dev-dependencies] -reqwest = { workspace = true } pretty_assertions = { workspace = true } [build-dependencies]