Skip to content

Commit

Permalink
Merge pull request #40 from Foundation-Devices/jeandudey/sft-3906-fix…
Browse files Browse the repository at this point in the history
…-default-features-for-some-crates-in-foundation-rs

SFT-3906: Disable default features for some crates.
  • Loading branch information
jeandudey authored Jul 31, 2024
2 parents 2621421 + 8956de4 commit 8a5d9eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ members = [
homepage = "https://github.com/Foundation-Devices/foundation-rs"

[workspace.dependencies]
anyhow = "1.0.83"
anyhow = { version = "1.0.83", default-features = false }
arbitrary = { version = "1", features = ["derive"] }
bech32 = { version = "0.9", default-features = false }
bip39 = { version = "2", default-features = false }
Expand All @@ -37,7 +37,7 @@ nom = { version = "7", default-features = false }
phf = { version = "0.11", features = ["macros"], default-features = false }
rand_xoshiro = "0.6"
secp256k1 = { version = "0.29", default-features = false }
serde = { version = "1.0.156", features = ["derive"] }
serde = { version = "1.0.156", features = ["derive"], default-features = false }
serde_json = "1"
uuid = { version = "1", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion firmware/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ required-features = ["binary"]

[features]
default = ["std", "binary"]
std = ["hex?/std", "nom/std", "secp256k1/std"]
std = ["anyhow/std", "hex?/std", "nom/std", "secp256k1/std"]
binary = ["anyhow", "clap", "hex", "secp256k1/global-context", "std"]

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion test-vectors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ edition = "2021"

[features]
default = ["std"]
std = ["hex/std"]
std = ["hex/std", "serde/std"]
bip32 = ["bs58", "hex/serde"]
firmware = []
nostr = ["hex/serde"]
Expand Down

0 comments on commit 8a5d9eb

Please sign in to comment.