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