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>
Tue, 21 Jan 2025 10:38:15 +0000 (11:38 +0100)
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 c2cbff88b5d4141ff7c274361b32b0875c06155e..b1386fcfd7d170b4e730c214355ed17ed8524e10 100644 (file)
@@ -80,7 +80,7 @@ proptest = "1.5.0"
 pulldown-cmark = { version = "0.12.0", default-features = false, features = ["html"] }
 rand = "0.8.5"
 regex = "1.10.5"
-rusqlite = { version = "0.32.0", features = ["bundled"] }
+rusqlite = { version = "0.32.0" }
 rustc-hash = "2.0.0"
 rustfix = { version = "0.9.0", path = "crates/rustfix" }
 same-file = "1.0.6"
@@ -264,10 +264,8 @@ test = false
 doc = false
 
 [features]
-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']
 
 [lints]
 workspace = true