Cargo Features
[dependencies]
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
somewhere in the dependency tree.default-features = false - std default = clock
-
Enables std of flex-error
- clock std
- 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.