Cargo Features
[dependencies]
celestia-grpc = { version = "0.9.0", default-features = false, features = ["wasm-bindgen", "uniffi", "tls-native-roots", "tls-webpki-roots", "tls-ring", "tls-aws-lc"] }
- default = tls-native-roots
-
The
tls-native-rootsfeature is set by default whenevercelestia-grpcis added withoutsomewhere in the dependency tree.default-features = false - wasm-bindgen
-
Enables js-sys, wasm-bindgen, and wasm-bindgen-futures, wasm-bindgen of celestia-types
- uniffi
-
Enables async-trait, serde_json and uniffi ^0.29.2, uniffi of celestia-types
Affects
celestia-grpc::uniffi_client… - tls-native-roots default
-
Add system trust roots to
rustlsintonic.Selecting this feature enables TLS support in grpc client.
Enables tonic-tls-native…except-wasm32 of lumina-utils
- tls-webpki-roots
-
Add the standard trust roots from webpki to
rustlsintonicSelecting this feature enables TLS support in grpc client.
Enables tonic-tls-webpki…except-wasm32 of lumina-utils
- tls-ring
-
Select the
ringcrypto provider forrustlsintonicSelecting this feature doesn't enable tls support in the client, it only guides
tonicwhich provider to use if tls is enabled.Enables tonic-tls-ring-except-wasm32 of lumina-utils
- tls-aws-lc
-
Select the
aws-lccrypto provider forrustlsintonicSelecting this feature doesn't enable tls support in the client, it only guides
tonicwhich provider to use if tls is enabled.Enables tonic-tls-ring-except-wasm32 of lumina-utils