Cargo Features

[dependencies]
bitcoin_num = { version = "0.2.3", default-features = false, features = ["std", "all", "serde-std", "unstable", "fuzztarget"] }
default = std

The std feature is set by default whenever bitcoin_num is added without default-features = false somewhere in the dependency tree.

std default all?
all = serde, serde-std, std
serde-std all?

Enables std of serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

unstable

for benchmarking

fuzztarget

used by other rust-bitcoin projects to make hashes almost-noops, DON'T USE THIS

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde all? serde-std?

Affects bitcoin_num::serialize