Cargo Features

OpenFgaClient has no features set by default.

[dependencies]
openfga-client = { version = "0.2.0", features = ["all", "tls-rustls", "tls-native-roots", "tls-webpki-roots", "auth-middle"] }
all = auth-middle, tls-native-roots, tls-rustls
tls-rustls all?

Enables tls of tonic

tls-native-roots all?

Enables tls-native-roots of tonic

tls-webpki-roots

Enables tls-webpki-roots of tonic

auth-middle all? = tower

Enables middle

Affects client_ext::BasicOpenFgaServiceClient, client_ext::BasicAuthLayer, model_client::BasicOpenFgaClient

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tower auth-middle?