# 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 = "diesel-adapter" version = "1.0.0" authors = ["Cheng JIANG "] description = "Diesel adapter for casbin-rs" homepage = "https://github.com/casbin-rs/diesel-adapter" readme = "README.md" license = "Apache-2.0" [profile.dev] split-debuginfo = "unpacked" [profile.release] opt-level = 3 lto = true codegen-units = 1 [dependencies.async-std] version = "1.9.0" optional = true default-features = false [dependencies.async-trait] version = "0.1.42" [dependencies.casbin] version = "2.1.0" default-features = false [dependencies.diesel] version = "2.0.3" features = ["r2d2"] default-features = false [dependencies.futures] version = "0.3" [dependencies.libsqlite3-sys] version = "0.26.0" features = ["bundled"] [dependencies.once_cell] version = "1.5.2" [dependencies.tokio] version = "1.1.1" optional = true default-features = false [dev-dependencies.async-std] version = "1.9.0" features = ["attributes"] [dev-dependencies.tokio] version = "1.1.1" features = ["full"] [features] default = [ "postgres", "runtime-tokio", ] mysql = ["diesel/mysql"] postgres = ["diesel/postgres"] runtime-async-std = [ "casbin/runtime-async-std", "async-std/unstable", ] runtime-tokio = [ "casbin/runtime-tokio", "tokio/rt", ] sqlite = [ "diesel/sqlite", "libsqlite3-sys/bundled", ]