Cargo Features

cometbft = { version = "0.1.0-alpha.2", default-features = false, features = ["std", "clock", "secp256k1", "rust-crypto"] }
default = rust-crypto, std

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

std default = clock

Enables std of flex-error

clock std

Enables std of time

secp256k1 = k256, ripemd

Affects default::ecdsa_secp256k1

rust-crypto default = ed25519-consensus, sha2

Affects crypto::default

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.

ed25519-consensus rust-crypto
sha2 rust-crypto
k256 secp256k1?
ripemd secp256k1?