# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "zitadel" version = "5.3.2" authors = ["Christoph Bühler "] build = false include = [ "src/**/*.rs", "Cargo.toml", "LICENSE*", "README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "An implementation of ZITADEL API access and authentication in Rust." readme = "README.md" keywords = [ "ZITADEL", "gRPC", "clients", "authentication", "oidc", ] categories = [ "authentication", "api-bindings", ] license = "MIT OR Apache-2.0" repository = "https://github.com/buehler/zitadel-rust" [package.metadata.docs.rs] all-features = true [lib] name = "zitadel" path = "src/lib.rs" [dependencies.actix-web] version = "4.5.1" optional = true [dependencies.async-trait] version = "0.1.80" optional = true [dependencies.axum] version = "0.7.5" features = ["macros"] optional = true [dependencies.axum-extra] version = "0.9.3" features = ["typed-header"] optional = true [dependencies.base64-compat] version = "1" optional = true [dependencies.custom_error] version = "1.9.2" [dependencies.document-features] version = "0.2.8" optional = true [dependencies.jsonwebtoken] version = "9.3.0" optional = true [dependencies.moka] version = "0.12.8" features = ["future"] optional = true [dependencies.openidconnect] version = "3.5.0" optional = true [dependencies.pbjson-types] version = "0.7.0" optional = true [dependencies.prost] version = "0.13.1" optional = true [dependencies.prost-types] version = "0.13.1" optional = true [dependencies.reqwest] version = "0.11.27" features = [ "json", "rustls-tls", ] optional = true default-features = false [dependencies.rocket] version = "0.5.0" optional = true [dependencies.rocket_okapi] version = "0.9.0" optional = true default-features = false [dependencies.schemars] version = "0.8.21" optional = true [dependencies.serde] version = "1.0.200" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.116" optional = true [dependencies.serde_urlencoded] version = "0.7.1" optional = true [dependencies.time] version = "0.3.36" optional = true [dependencies.tokio] version = "1.37.0" features = [ "macros", "rt-multi-thread", ] optional = true [dependencies.tonic] version = "0.12.1" features = ["tls"] optional = true [dependencies.tonic-types] version = "0.12.1" optional = true [dev-dependencies.chrono] version = "0.4.38" [dev-dependencies.http-body-util] version = "0.1.0" [dev-dependencies.tokio] version = "1.37.0" features = [ "macros", "rt-multi-thread", ] [dev-dependencies.tower] version = "0.5.0" [features] actix = [ "credentials", "oidc", "dep:actix-web", ] api = [ "api-admin-v1", "api-auth-v1", "api-management-v1", "api-system-v1", "api-oidc-v2", "api-org-v2", "api-session-v2", "api-settings-v2", "api-user-v2", ] api-admin-v1 = [ "api-common", "zitadel-admin-v1", ] api-auth-v1 = [ "api-common", "zitadel-auth-v1", ] api-common = [ "dep:prost", "dep:prost-types", "dep:tonic", "dep:tonic-types", "dep:pbjson-types", ] api-management-v1 = [ "api-common", "zitadel-v1-v1", ] api-oidc-v2 = [ "api-common", "zitadel-oidc-v2", ] api-org-v2 = [ "api-common", "zitadel-org-v2", "zitadel-user-v2", ] api-session-v2 = [ "api-common", "zitadel-session-v2", ] api-settings-v2 = [ "api-common", "zitadel-settings-v2", ] api-system-v1 = [ "api-common", "zitadel-system-v1", "zitadel-authn-v1", ] api-user-v2 = [ "api-common", "zitadel-user-v2", ] axum = [ "credentials", "oidc", "dep:axum", "dep:axum-extra", ] credentials = [ "dep:jsonwebtoken", "dep:openidconnect", "dep:reqwest", "dep:serde", "dep:serde_json", "dep:serde_urlencoded", "dep:time", ] default = ["tls-roots"] interceptors = [ "credentials", "dep:time", "dep:tokio", ] introspection_cache = [ "dep:async-trait", "dep:time", "dep:moka", ] oidc = [ "credentials", "dep:base64-compat", ] proto_full = [ "zitadel-action-v1", "zitadel-admin-v1", "zitadel-app-v1", "zitadel-auth-v1", "zitadel-authn-v1", "zitadel-change-v1", "zitadel-event-v1", "zitadel-feature-v1", "zitadel-feature-v2", "zitadel-feature-v2beta", "zitadel-idp-v1", "zitadel-idp-v2", "zitadel-instance-v1", "zitadel-management-v1", "zitadel-member-v1", "zitadel-metadata-v1", "zitadel-milestone-v1", "zitadel-object-v2", "zitadel-object-v2beta", "zitadel-object-v3alpha", "zitadel-oidc-v2", "zitadel-oidc-v2beta", "zitadel-org-v1", "zitadel-org-v2", "zitadel-org-v2beta", "zitadel-policy-v1", "zitadel-project-v1", "zitadel-protoc_gen_zitadel-v2", "zitadel-quota-v1", "zitadel-resources-action-v3alpha", "zitadel-resources-debug_events-v3alpha", "zitadel-resources-object-v3alpha", "zitadel-resources-user-v3alpha", "zitadel-resources-userschema-v3alpha", "zitadel-resources-webkey-v3alpha", "zitadel-session-v2", "zitadel-session-v2beta", "zitadel-settings-object-v3alpha", "zitadel-settings-v1", "zitadel-settings-v2", "zitadel-settings-v2beta", "zitadel-system-v1", "zitadel-text-v1", "zitadel-user-v1", "zitadel-user-v2", "zitadel-user-v2beta", "zitadel-v1", "zitadel-v1-v1", ] rocket = [ "credentials", "oidc", "dep:rocket", ] rocket_okapi = [ "rocket", "dep:rocket_okapi", "dep:schemars", ] tls-roots = ["tonic/tls-roots"] tls-webpki-roots = ["tonic/tls-webpki-roots"] zitadel-action-v1 = ["zitadel-v1"] zitadel-admin-v1 = [ "zitadel-event-v1", "zitadel-idp-v1", "zitadel-instance-v1", "zitadel-management-v1", "zitadel-member-v1", "zitadel-milestone-v1", "zitadel-org-v1", "zitadel-policy-v1", "zitadel-settings-v1", "zitadel-text-v1", "zitadel-v1", "zitadel-v1-v1", ] zitadel-app-v1 = ["zitadel-v1"] zitadel-auth-v1 = [ "zitadel-change-v1", "zitadel-idp-v1", "zitadel-metadata-v1", "zitadel-org-v1", "zitadel-policy-v1", "zitadel-user-v1", "zitadel-v1", ] zitadel-authn-v1 = ["zitadel-v1"] zitadel-change-v1 = ["zitadel-v1"] zitadel-event-v1 = ["zitadel-v1"] zitadel-feature-v1 = [] zitadel-feature-v2 = ["zitadel-object-v2"] zitadel-feature-v2beta = ["zitadel-object-v2beta"] zitadel-idp-v1 = ["zitadel-v1"] zitadel-idp-v2 = ["zitadel-object-v2"] zitadel-instance-v1 = ["zitadel-v1"] zitadel-management-v1 = [ "zitadel-action-v1", "zitadel-app-v1", "zitadel-authn-v1", "zitadel-change-v1", "zitadel-idp-v1", "zitadel-member-v1", "zitadel-metadata-v1", "zitadel-org-v1", "zitadel-policy-v1", "zitadel-project-v1", "zitadel-text-v1", "zitadel-user-v1", "zitadel-v1", ] zitadel-member-v1 = [ "zitadel-user-v1", "zitadel-v1", ] zitadel-metadata-v1 = ["zitadel-v1"] zitadel-milestone-v1 = [] zitadel-object-v2 = [] zitadel-object-v2beta = [] zitadel-object-v3alpha = [] zitadel-oidc-v2 = ["zitadel-object-v2"] zitadel-oidc-v2beta = ["zitadel-object-v2beta"] zitadel-org-v1 = ["zitadel-v1"] zitadel-org-v2 = ["zitadel-object-v2"] zitadel-org-v2beta = ["zitadel-object-v2beta"] zitadel-policy-v1 = [ "zitadel-idp-v1", "zitadel-v1", ] zitadel-project-v1 = ["zitadel-v1"] zitadel-protoc_gen_zitadel-v2 = [] zitadel-quota-v1 = [] zitadel-resources-action-v3alpha = [ "zitadel-object-v3alpha", "zitadel-resources-object-v3alpha", ] zitadel-resources-debug_events-v3alpha = [ "zitadel-object-v3alpha", "zitadel-resources-object-v3alpha", ] zitadel-resources-object-v3alpha = ["zitadel-object-v3alpha"] zitadel-resources-user-v3alpha = [ "zitadel-object-v3alpha", "zitadel-resources-object-v3alpha", ] zitadel-resources-userschema-v3alpha = [ "zitadel-object-v3alpha", "zitadel-resources-object-v3alpha", ] zitadel-resources-webkey-v3alpha = [ "zitadel-object-v3alpha", "zitadel-resources-object-v3alpha", ] zitadel-session-v2 = [ "zitadel-object-v2", "zitadel-v1", ] zitadel-session-v2beta = [ "zitadel-object-v2beta", "zitadel-v1", ] zitadel-settings-object-v3alpha = ["zitadel-object-v3alpha"] zitadel-settings-v1 = ["zitadel-v1"] zitadel-settings-v2 = ["zitadel-object-v2"] zitadel-settings-v2beta = ["zitadel-object-v2beta"] zitadel-system-v1 = [ "zitadel-feature-v1", "zitadel-instance-v1", "zitadel-member-v1", "zitadel-quota-v1", "zitadel-v1", ] zitadel-text-v1 = ["zitadel-v1"] zitadel-user-v1 = ["zitadel-v1"] zitadel-user-v2 = ["zitadel-object-v2"] zitadel-user-v2beta = ["zitadel-object-v2beta"] zitadel-v1 = [] zitadel-v1-v1 = [ "zitadel-authn-v1", "zitadel-idp-v1", "zitadel-management-v1", "zitadel-org-v1", "zitadel-v1", ]