Cargo Features
[dependencies]
celestia-types = { version = "0.17.0", default-features = false, features = ["p2p", "tonic", "wasm-bindgen", "uniffi", "test-utils"] }
- default = p2p
-
The
p2pfeature is set by default whenevercelestia-typesis added withoutsomewhere 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 celestia-proto, wasm-bindgen of time
Affects
consts::appconsts.JsAppVersion,tx::SignatureMode,celestia-types::evidence,celestia-types::signature… - uniffi
-
Enables uniffi ^0.29.2, uniffi of celestia-proto
Affects
commit::uniffi_types,header::uniffi_types,block::uniffi_types,consts::appconsts.AppVersion,error::UniffiResult,error::UniffiConversionError,error::UniffiError,evidence::uniffi_types,hash::uniffi_types,celestia-types::uniffi_types,celestia-types::evidence,celestia-types::signature… - test-utils
-
Enables ed25519-consensus and rand ^0.8.5