d-0010-cargo-remove-vendored-c-crates
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Mon, 6 May 2024 08:25:32 +0000 (10:25 +0200)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Thu, 16 Apr 2026 08:00:20 +0000 (10:00 +0200)
Description: remove all vendoring features of crates normally shipping bundled
C libs. that C code is stripped when repacking, so the features can't work
anyway.

Forwarded: not-needed

Gbp-Pq: Topic prune
Gbp-Pq: Name d-0010-cargo-remove-vendored-c-crates.patch

src/tools/cargo/Cargo.toml

index 79c0b01f8fbfc8afb59e8357e36d4279a82efda1..66d998522b0da8d0eac52e9352b102235322e113 100644 (file)
@@ -82,7 +82,7 @@ proptest = "1.9.0"
 pulldown-cmark = { version = "0.13.0", default-features = false, features = ["html"] }
 rand = "0.9.2"
 regex = "1.12.2"
-rusqlite = { version = "0.38.0", features = ["bundled"] }
+rusqlite = { version = "0.38.0" }
 rustc-hash = "2.1.1"
 rustc-stable-hash = "0.1.2"
 rustfix = { version = "0.9.2", path = "crates/rustfix" }
@@ -277,10 +277,8 @@ doc = false
 
 [features]
 default = ["http-transport-curl"]
-vendored-openssl = ["openssl/vendored"]
-vendored-libgit2 = ["libgit2-sys/vendored"]
+# Debian: removed vendoring flags
 # This is primarily used by rust-lang/rust distributing cargo the executable.
-all-static = ['vendored-openssl', 'curl/static-curl', 'curl/force-system-lib-on-osx', 'vendored-libgit2']
 # Exactly one of 'http-transport-curl' or 'http-transport-reqwest' must be enabled
 # when using Cargo as a library. By default, it is 'http-transport-curl'.
 http-transport-curl = ["gix/blocking-http-transport-curl"]