# 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-diesel-core" version = "0.1.0-alpha.0" authors = ["Trey Lowerison"] build = "build.rs" description = "Core utilities for easier integration of diesel into async backend services." homepage = "https://github.com/tlowerison/authzen" 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-trait] version = "^0.1" [dependencies.cfg-if] version = "1" [dependencies.derivative] version = "2" [dependencies.derive_more] version = "0" [dependencies.diesel] version = "2" [dependencies.diesel-async] version = "^0.2" [dependencies.either] version = "1" [dependencies.futures] version = "^0.3" [dependencies.itertools] version = "^0.10" [dependencies.lazy_static] version = "1" [dependencies.mobc] version = "^0.7" optional = true [dependencies.scoped-futures] version = "^0.1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = [ "rt", "sync", ] [dependencies.tracing] version = "^0.1" [dependencies.uuid] version = "1" features = [ "serde", "v4", ] [build-dependencies.rustc_version] version = "0.4.0" [features] bb8 = ["diesel-async/bb8"] deadpool = ["diesel-async/deadpool"] mobc = [ "diesel-async/mobc", "dep:mobc", ] mysql = [ "diesel/mysql", "diesel-async/mysql", ] postgres = [ "diesel/postgres", "diesel-async/postgres", ]