Cargo Features
[dependencies]
celestia-types = { version = "0.10.0", default-features = false, features = ["p2p", "tonic", "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 and multiaddr
Affects
celestia-types::p2p
… - tonic
-
Enables tonic of celestia-proto
- wasm-bindgen
-
Enables wasm-bindgen, js-sys, nmt-rs, and serde-wasm-bindgen, wasm-bindgen of time
Affects
consts::appconsts.JsAppVersion
… - test-utils
-
Enables ed25519-consensus and rand ^0.8.5