# 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 = "authzen-service-util" version = "0.1.0-alpha.0" authors = ["Trey Lowerison"] build = "build.rs" description = "Backend service utilities." homepage = "https://github.com/tlowerison/authzen" readme = "README.md" keywords = [ "authz", "authorization", "diesel", "opa", "open-policy-agent", ] categories = ["web-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/tlowerison/authzen" resolver = "1" [package.metadata.docs.rs] all-features = true [dependencies.anyhow] version = "1" [dependencies.async-backtrace] version = "^0.2" [dependencies.async-graphql] version = "4" optional = true [dependencies.async-trait] version = "^0.1" optional = true [dependencies.authzen-diesel] version = "0.1.0-alpha.0" optional = true [dependencies.authzen-session] version = "0.1.0-alpha.0" features = ["account-session"] optional = true [dependencies.axum-05] version = "0.5" features = ["headers"] optional = true default-features = false package = "axum" [dependencies.axum-06] version = "0.6" features = ["headers"] optional = true default-features = false package = "axum" [dependencies.axum-core] version = "0" optional = true [dependencies.cfg-if] version = "1" [dependencies.concat-string] version = "1" optional = true [dependencies.cookie] version = "0" optional = true [dependencies.data-encoding] version = "2" optional = true [dependencies.derivative] version = "2" [dependencies.derive_more] version = "0" optional = true [dependencies.diesel] version = "2" optional = true [dependencies.futures] version = "^0.3" optional = true [dependencies.headers] version = "0" optional = true [dependencies.hyper] version = "0" [dependencies.lazy_static] version = "1" [dependencies.mongodb] version = "2" features = ["bson-chrono-0_4"] optional = true [dependencies.opentelemetry] version = "0" optional = true [dependencies.opentelemetry-jaeger] version = "0" optional = true [dependencies.paste] version = "1" [dependencies.ring] version = "0" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.serde_qs] version = "0" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "rt", "sync", "signal", ] optional = true [dependencies.tonic] version = "0" optional = true [dependencies.tower] version = "0" optional = true [dependencies.tower-http] version = "0" features = ["cors"] [dependencies.tower-layer] version = "0" optional = true [dependencies.tower-service] version = "0" optional = true [dependencies.tracing] version = "^0.1" [dependencies.tracing-error] version = "0" optional = true [dependencies.tracing-log] version = "0" optional = true [dependencies.tracing-opentelemetry] version = "0" optional = true [dependencies.tracing-subscriber] version = "0" features = ["env-filter"] optional = true [dependencies.tracing-tree] version = "0" optional = true [dependencies.uuid] version = "1" features = [ "serde", "v4", "serde", "v4", ] optional = true [build-dependencies.rustc_version] version = "0.4.0" [features] axum-05 = [ "dep:axum-05", "dep:headers", "authzen-session/axum-core-02", ] axum-06 = [ "dep:axum-06", "dep:headers", "authzen-session/axum-core-03", ] client = [ "async-trait", "concat-string", "futures", "hyper/client", "serde", "serde_json", "serde_qs", "trace", ] db = [ "authzen-diesel", "diesel", "serde", ] default = [ "http1", "max-allowed-request-body-size-medium", ] graphql = [ "async-graphql", "authzen-diesel", "diesel", "serde", ] grpc = ["tonic"] http1 = ["hyper/http1"] http2 = ["hyper/http2"] log_error = [] max-allowed-request-body-size-large = [] max-allowed-request-body-size-medium = [] max-allowed-request-body-size-small = [] server = [ "derive_more", "futures", "opentelemetry/rt-tokio", "serde", "serde_json", "authzen-session", "tokio", "tokio/macros", "tower", "tower/timeout", "tower-http/request-id", "trace", "try-join-safe", "uuid", ] trace = [ "opentelemetry", "opentelemetry-jaeger/rt-tokio", "tracing-error", "tracing-log", "tracing-opentelemetry", "tracing-subscriber", "tracing-tree", "uuid", ] try-join-safe = ["futures"]