Cargo Features
ZITADEL has no features set by default.
[dependencies]
zitadel = { version = "4.3.0", features = ["actix", "api", "axum", "credentials", "interceptors", "introspection_cache", "oidc", "rocket", "document-features"] }
- actix = credentials, oidc
-
Feature that enables support for the actix framework.
Enables actix-web
Affects
zitadel::actix
… - api interceptors?
-
The API feature enables the gRPC service clients to access the ZITADEL API.
Enables pbjson-types, prost, prost-types, tonic, and tonic-types
Affects
zitadel::api
… - axum = credentials, oidc
-
Feature that enables support for the axum framework.
Enables axum and axum-extra
Affects
zitadel::axum
… - credentials actix? axum? interceptors? oidc? rocket?
-
The credentials feature enables special credentials helpers for ZITADEL.
For example, it allows the user to create a ZITADEL service account and authenticate against ZITADEL.Enables jsonwebtoken, openidconnect, reqwest ^0.11.27, serde, serde_json, serde_urlencoded, and time
Affects
zitadel::credentials
… - interceptors = api, credentials
-
The interceptors feature enables specific gRPC interceptors and new convenience functions to create a gRPC client with interceptors.
The interceptors provide easy access to an authenticated ZITADEL API client.
The interceptors work with the credentials from this crate.Affects
api::interceptors
… - introspection_cache
-
This feature enables caching of the OIDC discovery and introspection results.
By default, only the in-memory cache is available. To use a different cache,
enable specific features of this crate, or implement your own cache with the trait.Enables async-trait and time
Affects
introspection::cache
… - oidc actix? axum? rocket? = credentials
-
The OIDC module enables basic OIDC (OpenID Connect) features to communicate with ZITADEL. Two examples are the
discover
andintrospect
functions. The OIDC features are required for some of the web framework features.Enables base64-compat
Affects
zitadel::oidc
… - rocket = credentials, oidc
-
Feature that enables support for the rocket framework. It enables authentication features for rocket in the form of route guards. Refer to the rocket module for more information.
Enables rocket
Affects
zitadel::rocket
…
Features from optional dependencies
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml