# 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 = "2018" name = "oxide-auth-db" version = "0.3.0" authors = ["liujing "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An implement of DB registrar with configurable databases." readme = "Readme.md" keywords = [ "oauth", "server", "oauth2", "redis", ] license = "MIT OR Apache-2.0" repository = "https://github.com/HeroicKatora/oxide-auth.git" resolver = "2" [lib] name = "oxide_auth_db" path = "src/lib.rs" [dependencies.anyhow] version = "1.0" [dependencies.log] version = "0.4.8" [dependencies.once_cell] version = "1.3.1" [dependencies.oxide-auth] version = "0.6.0" [dependencies.r2d2_redis] version = "0.14" optional = true [dependencies.serde] version = "1.0.101" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.url] version = "2" [features] default = ["with-redis"] with-redis = ["r2d2_redis"]