Cargo Features

[dependencies]
cometbft-light-client = { version = "0.1.0-alpha.2", default-features = false, features = ["rpc-client", "rust-crypto", "secp256k1", "lightstore-sled", "unstable", "mbt"] }
default = rpc-client

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

Enables std of flex-error

rpc-client default = rust-crypto, tokio

Enables http-client of cometbft-rpc

rust-crypto mbt? rpc-client unstable?

Enables rust-crypto of cometbft and cometbft-light-client-verifier

Affects tests::verify_single

secp256k1

Enables secp256k1 of cometbft and cometbft-rpc

lightstore-sled = sled

Affects store::sled

unstable = rust-crypto
mbt = rust-crypto

Enable to execute long-running model-based tests

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.

sled lightstore-sled?
tokio rpc-client