Cargo Features
[dependencies]
bitcoin-primitives = { version = "0.101.0", default-features = false, features = ["std", "alloc", "serde", "arbitrary", "ordered"] }
- default = std
-
The
std
feature is set by default wheneverbitcoin-primitives
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of bitcoin_hashes ^0.15.0, hex-conservative, bitcoin-internals, bitcoin-io, and bitcoin-units
- alloc serde? std
-
Enables alloc of bitcoin_hashes ^0.15.0, hex-conservative, bitcoin-internals, bitcoin-io, and bitcoin-units
Affects
block::Validation
,block::Block
,block::Checked
,block::Unchecked
,bitcoin-primitives::locktime
,bitcoin-primitives::script
,bitcoin-primitives::witness
,transaction::Transaction
,transaction::TxIn
,transaction::TxOut
,transaction::ParseOutPointError
… - serde = alloc
-
Enables serde, serde of bitcoin-units, serde of bitcoin_hashes ^0.15.0 and bitcoin-internals
- arbitrary
-
Enables arbitrary, arbitrary of bitcoin-units