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-roots feature is set by default whenever celestia-grpc is added without default-features = false somewhere in the dependency tree.

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 rustls in tonic.

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 rustls in tonic

Selecting this feature enables TLS support in grpc client.

Enables tonic-tls-webpki…except-wasm32 of lumina-utils

tls-ring

Select the ring crypto provider for rustls in tonic

Selecting this feature doesn't enable tls support in the client, it only guides tonic which provider to use if tls is enabled.

Enables tonic-tls-ring-except-wasm32 of lumina-utils

tls-aws-lc

Select the aws-lc crypto provider for rustls in tonic

Selecting this feature doesn't enable tls support in the client, it only guides tonic which provider to use if tls is enabled.

Enables tonic-tls-ring-except-wasm32 of lumina-utils