Cargo Features
[dependencies]
celestia-types = { version = "0.7.0", default-features = false, features = ["p2p", "wasm-bindgen", "test-utils"] }
- default = p2p
-
The
p2p
feature is set by default whenevercelestia-types
is added without
somewhere in the dependency tree.default-features = false - p2p default
-
Enables libp2p-identity, multiaddr, and serde_repr
Affects
celestia-types::p2p
… - wasm-bindgen
-
Enables wasm-bindgen of celestia-tendermint
- test-utils
-
Enables ed25519-consensus and rand