Skip to content

Commit

Permalink
bip32: Fix no-std support with secp256k1-ffi feature flag (#1254)
Browse files Browse the repository at this point in the history
  • Loading branch information
str4d authored Dec 19, 2024
1 parent 0563aaf commit 2a13757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bip32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ zeroize = { version = "1", default-features = false }
k256 = { version = "=0.14.0-pre.2", optional = true, default-features = false, features = ["ecdsa", "sha256"] }
once_cell = { version = "1", optional = true }
pbkdf2 = { version = "=0.13.0-pre.1", optional = true, default-features = false, features = ["hmac"] }
secp256k1-ffi = { package = "secp256k1", version = "0.29", optional = true }
secp256k1-ffi = { package = "secp256k1", version = "0.29", optional = true, default-features = false }

[dev-dependencies]
hex-literal = "0.4"
rand_core = { version = "0.6", features = ["std"] }

[features]
default = ["bip39", "secp256k1", "std"]
alloc = ["zeroize/alloc"]
alloc = ["secp256k1-ffi?/alloc", "zeroize/alloc"]
bip39 = ["mnemonic", "pbkdf2", "std"]
mnemonic = ["alloc", "once_cell"]
secp256k1 = ["k256"]
Expand Down

0 comments on commit 2a13757

Please sign in to comment.