Cargo Features
[dependencies]
bitcoin-units = { version = "0.2.0", default-features = false, features = ["std", "alloc", "serde", "arbitrary"] }
- default = std
-
The
std
feature is set by default wheneverbitcoin-units
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of bitcoin-internals
- alloc std
-
Enables alloc of bitcoin-internals
Affects
amount::SerdeAmount.ser_btc
,amount::SerdeAmount.des_btc
,amount::SerdeAmountForOpt.ser_btc_opt
,amount::serde.as_btc
,bitcoin-units::block
,bitcoin-units::fee_rate
,bitcoin-units::locktime
,bitcoin-units::parse
,bitcoin-units::weight
…