Cargo Features

[dependencies]
bitcoin-io = { version = "0.2.0", default-features = false, features = ["std", "alloc"] }
default = std

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

std default = alloc

Affects bitcoin-io::from_std, bitcoin-io::from_std_mut

alloc std

Affects bitcoin-io::Read.read_to_limit