Cargo Features

[dependencies]
bellscoin = { version = "0.30.6", default-features = false, features = ["rand-std", "rand", "serde", "secp-lowmemory", "secp-recovery", "bitcoinconsensus-std", "std", "no-std", "base64"] }
default = secp-recovery, std

These default features are set whenever bellscoin is added without default-features = false somewhere in the dependency tree.

rand-std

Enables rand-std of secp256k1 ^0.27.0

rand

Enables rand of secp256k1 ^0.27.0

serde = actual-serde

Enables serde of bitcoin_hashes ^0.12.0 and secp256k1 ^0.27.0

Affects amount::serde, consensus::serde

secp-lowmemory

Enables lowmemory of secp256k1 ^0.27.0

secp-recovery default

Enables recovery of secp256k1 ^0.27.0

bitcoinconsensus-std = std

Enables std of bitcoinconsensus

std default bitcoinconsensus-std?

At least one of std, no-std must be enabled.

The no-std feature doesn't disable std - you need to turn off the std feature for that by disabling default.
Instead no-std enables additional features required for this crate to be usable without std.
As a result, both can be enabled without conflict.

Enables std of bech32 ^0.9.0, bitcoin-private, bitcoin_hashes ^0.12.0, and secp256k1 ^0.27.0

Affects network::address, network::message, network::message_blockdata, network::message_bloom, network::message_compact_blocks, network::message_filter, network::message_network

no-std = core2

Enables alloc and core2 of bitcoin_hashes ^0.12.0 and alloc of secp256k1 ^0.27.0

secp256k1:

allow use of Secp256k1::new and related API that requires an allocator

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.

base64 implicit feature

Enables base64 ^0.13.0

base64:

encodes and decodes base64 as bytes or utf8

bitcoinconsensus bitcoinconsensus-std?
core2 no-std?

Enables core2 ^0.3.0

actual-serde serde?

Enables serde

Do NOT use this as a feature! Use the serde feature instead.