# 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 = "rbatis-adapter" version = "0.0.1" authors = ["Hubert Shelley "] description = "Rbatis adapter for casbin-rs" homepage = "https://gitee.com/hubert22/rbatis-adapter" readme = "README.md" license = "Apache-2.0" resolver = "2" [profile.dev] split-debuginfo = "unpacked" [profile.release] opt-level = 3 lto = true codegen-units = 1 [dependencies.async-std] version = "1.12.0" optional = true default-features = false [dependencies.async-trait] version = "0.1.56" [dependencies.casbin] version = "2.0.9" default-features = false [dependencies.fast_log] version = "1.5.23" [dependencies.futures] version = "0.3.21" [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4.17" [dependencies.once_cell] version = "1.13.0" [dependencies.rbatis] version = "3.1.16" default-features = false [dependencies.rbson] version = "2.0.5" [dependencies.serde] version = "1.0.140" features = ["derive"] [dependencies.tokio] version = "1.20.1" optional = true default-features = false [dev-dependencies.async-std] version = "1.12.0" features = ["attributes"] [dev-dependencies.tokio] version = "1.20.1" features = ["full"] [features] default = [ "mysql", "runtime-tokio", ] mysql = ["rbatis/mysql"] postgres = ["rbatis/postgres"] runtime-async-std = [ "casbin/runtime-async-std", "rbatis/runtime-async-std-rustls", "async-std/unstable", ] runtime-tokio = [ "casbin/runtime-tokio", "rbatis/runtime-tokio-rustls", "tokio/rt", ] sqlite = ["rbatis/sqlite"]