BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
217 stars 81 forks source link

rust/miniscript: make deps optional, enable by features #1109

Closed benma closed 10 months ago

benma commented 10 months ago

The bitcoin/miniscript deps don't need to be compiled for all targets.

xpubcache was marked as unused in a warning when compiling factory-setup, so we guard this also by the features only enabled in the firmware editions.