# 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" version = "0.1.0-alpha.0" authors = ["Trey Lowerison"] build = "build.rs" description = "A framework for easily integrating authorization into backend services." 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.authzen-core] version = "0.1.0-alpha.0" [dependencies.authzen-diesel] version = "0.1.0-alpha.0" optional = true [dependencies.authzen-opa] version = "0.1.0-alpha.0" optional = true [dependencies.authzen-proc-macro-util] version = "0.1.0-alpha.0" optional = true [dependencies.authzen-proc-macros] version = "0.1.0-alpha.0" [dependencies.authzen-service-util] version = "0.1.0-alpha.0" optional = true [dependencies.authzen-session] version = "0.1.0-alpha.0" optional = true [dependencies.cfg-if] version = "1" [dependencies.derivative] version = "2" [dependencies.dotenv] version = "0" optional = true [dependencies.futures] version = "^0.3" [dependencies.tokio] version = "1" features = [ "rt", "sync", ] optional = true [build-dependencies.rustc_version] version = "0.4.0" [features] diesel-bb8 = [ "diesel-storage-backend", "authzen-diesel/bb8", ] diesel-deadpool = [ "diesel-storage-backend", "authzen-diesel/deadpool", ] diesel-mobc = [ "diesel-storage-backend", "authzen-diesel/mobc", ] diesel-mysql = [ "diesel-storage-backend", "authzen-core/diesel-mysql", "authzen-diesel/mysql", ] diesel-postgres = [ "diesel-storage-backend", "authzen-core/diesel-postgres", "authzen-diesel/postgres", ] diesel-storage-backend = [ "authzen-diesel", "authzen-core/diesel-storage-backend", ] extra-traits = ["authzen-core/extra-traits"] mongodb-tx-cache = ["authzen-core/mongodb-tx-cache"] opa-decision-maker = [ "authzen-opa", "authzen-core/opa-decision-maker", ] policy-information-point = ["authzen-core/policy-information-point"] policy-information-point-server = [ "authzen-core/policy-information-point-server", "dep:dotenv", "dep:tokio", ] proc-macro-util = ["authzen-proc-macro-util"] service-util = ["authzen-service-util"] service-util-axum-05 = [ "service-util", "authzen-service-util/axum-05", ] service-util-axum-06 = [ "service-util", "authzen-service-util/axum-06", ] service-util-client = [ "service-util", "authzen-service-util/client", ] service-util-db = [ "service-util", "authzen-service-util/db", ] service-util-graphql = [ "service-util", "authzen-service-util/graphql", ] service-util-grpc = [ "service-util", "authzen-service-util/grpc", ] service-util-http1 = [ "service-util", "authzen-service-util/http1", ] service-util-http2 = [ "service-util", "authzen-service-util/http2", ] service-util-log_error = [ "service-util", "authzen-service-util/log_error", ] service-util-max-allowed-request-body-size-large = [ "service-util", "authzen-service-util/max-allowed-request-body-size-large", ] service-util-max-allowed-request-body-size-medium = [ "service-util", "authzen-service-util/max-allowed-request-body-size-medium", ] service-util-max-allowed-request-body-size-small = [ "service-util", "authzen-service-util/max-allowed-request-body-size-small", ] service-util-server = [ "service-util", "authzen-service-util/server", ] service-util-trace = [ "service-util", "authzen-service-util/trace", ] session = ["authzen-session"] session-account-session = [ "session", "authzen-session/account-session", ] session-axum-core-02 = [ "session", "authzen-session/axum-core-02", ] session-axum-core-03 = [ "session", "authzen-session/axum-core-03", ] session-redis-backend = [ "session", "authzen-session/redis-backend", ] tracing = ["authzen-core/tracing"]