Skip to content

Commit b399d44

Browse files
committed
Merge branch 'btc-optional'
2 parents affe149 + 2c4e472 commit b399d44

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/rust/bitbox02-rust-c/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ target-bootloader-btc-production = ["bootloader", "platform-bitbox02"]
4545
target-firmware = ["firmware", "platform-bitbox02", "app-bitcoin", "app-litecoin", "app-ethereum", "app-u2f", "app-cardano"]
4646
target-firmware-btc = ["firmware", "platform-bitbox02", "app-bitcoin"]
4747
target-factory-setup = [
48-
# enable these features in dependencies
49-
# enable the bitcoin dep as workaround, because the bitbox02-rust::bip32 crate etc. are not
50-
# currently needed in the factorysetup, but not explicitly excluded from compilation.
51-
"bitbox02-rust/bitcoin",
5248
# enable these features
5349
"firmware",
5450
"platform-bitbox02",

src/rust/bitbox02-rust/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ed25519-dalek = { version = "2.1.1", default-features = false, features = ["hazm
4949
hmac = { version = "0.12.1", default-features = false, features = ["reset"] }
5050

5151
miniscript = { version = "12.2.0", default-features = false, features = ["no-std"], optional = true }
52-
bitcoin = { workspace = true, optional = true }
52+
bitcoin = { workspace = true }
5353
# We don't rely on this dep directly, the miniscript/bitcoin deps do. We list it here to enable the
5454
# small-hash feature to reduce the binary size, saving around 2784 bytes (as measured at time of
5555
# writing, this might fluctuate over time).
@@ -81,7 +81,6 @@ app-bitcoin = [
8181
# enable these dependencies
8282
"bech32",
8383
"miniscript",
84-
"bitcoin",
8584
# enable this feature in the deps
8685
"bitbox02/app-bitcoin",
8786
]

0 commit comments

Comments
 (0)