taproot-primitives: Remove crypto dep
What changed, and why it matters
This commit removes an unused internal dependency called bitcoin-crypto from the taproot-primitives crate. It only changes package metadata and lock files; no actual code is modified. There is no security issue here.
No action needed. This is a routine dependency cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit drops the bitcoin-crypto dependency from taproot-primitives/Cargo.toml and updates Cargo-minimal.lock and Cargo-recent.lock accordingly. Feature flags that forwarded to crypto/* are removed. No source files are touched, no API or behavior changes are introduced, and no vulnerability is present or fixed.
Changed components
taproot-primitives/Cargo.tomlCargo-minimal.lockCargo-recent.lockInspect captured patch +4 / −7
diff --git a/Cargo-minimal.lock b/Cargo-minimal.lock
index 2293ea15..644a3220 100644
--- a/Cargo-minimal.lock
+++ b/Cargo-minimal.lock
@@ -236,7 +236,6 @@ name = "bitcoin-taproot-primitives"
version = "0.1.0"
dependencies = [
"arbitrary",
- "bitcoin-crypto",
"bitcoin-internals 0.5.0",
"bitcoin_hashes 0.20.0",
"secp256k1 0.32.0-beta.2",
diff --git a/Cargo-recent.lock b/Cargo-recent.lock
index 23079b50..1696f267 100644
--- a/Cargo-recent.lock
+++ b/Cargo-recent.lock
@@ -229,7 +229,6 @@ name = "bitcoin-taproot-primitives"
version = "0.1.0"
dependencies = [
"arbitrary",
- "bitcoin-crypto",
"bitcoin-internals 0.5.0",
"bitcoin_hashes 0.20.0",
"secp256k1 0.32.0-beta.2",
diff --git a/taproot-primitives/Cargo.toml b/taproot-primitives/Cargo.toml
index 2acc7911..4d352573 100644
--- a/taproot-primitives/Cargo.toml
+++ b/taproot-primitives/Cargo.toml
@@ -14,14 +14,13 @@ exclude = ["tests", "contrib"]
[features]
default = ["std", "hex"]
-std = ["alloc", "crypto/std", "hashes/std", "internals/std", "serde?/std", "secp256k1/std"]
-alloc = ["crypto/alloc", "hashes/alloc", "internals/alloc", "secp256k1/alloc"]
-serde = ["dep:serde", "crypto/serde", "hashes/serde", "internals/serde", "secp256k1/serde"]
-arbitrary = ["crypto/arbitrary", "dep:arbitrary", "secp256k1/arbitrary"]
+std = ["alloc", "hashes/std", "internals/std", "serde?/std", "secp256k1/std"]
+alloc = ["hashes/alloc", "internals/alloc", "secp256k1/alloc"]
+serde = ["dep:serde", "hashes/serde", "internals/serde", "secp256k1/serde"]
+arbitrary = ["dep:arbitrary", "secp256k1/arbitrary"]
hex = ["hashes/hex"]
[dependencies]
-crypto = { package = "bitcoin-crypto", path = "../crypto", version = "0.2.0", default-features = false }
hashes = { package = "bitcoin_hashes", path = "../hashes", version = "0.20.0", default-features = false }
internals = { package = "bitcoin-internals", path = "../internals", version = "0.5.0" }
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.