# 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 = "casbin-rxqlite-adapter" version = "1.2.0" authors = [ "Eason Chai ", "Cheng JIANG ", "ha421 ", ] description = "Sqlx adapter for casbin-rs" homepage = "https://github.com/casbin-rs/sqlx-adapter" readme = "README.md" license = "Apache-2.0" [profile.dev] split-debuginfo = "packed" [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.51" [dependencies.casbin] version = "2.1.0" default-features = false [dependencies.dotenv] version = "0.15.0" default-features = false [dependencies.sqlx] version = "0.7" features = ["macros"] default-features = false [dependencies.sqlx-rxqlite] version = "0.1" [dependencies.tokio] version = "1.10.0" optional = true default-features = false [dev-dependencies.anyhow] version = "1" [dev-dependencies.async-std] version = "1.9.0" features = ["attributes"] [dev-dependencies.futures-util] version = "0.3" [dev-dependencies.rxqlite-client] version = "0.1" features = ["test-dependency"] [dev-dependencies.rxqlite-lite-common] version = "0.1" [dev-dependencies.rxqlite-tests-common] version = "0.1" [dev-dependencies.tokio] version = "1.10.0" features = ["full"] [features] default = ["runtime-tokio-rustls"] runtime-async-std-native-tls = [ "casbin/runtime-async-std", "sqlx/runtime-async-std-native-tls", ] runtime-async-std-rustls = [ "casbin/runtime-async-std", "sqlx/runtime-async-std-rustls", ] runtime-tokio-native-tls = [ "casbin/runtime-tokio", "sqlx/runtime-tokio-native-tls", ] runtime-tokio-rustls = [ "casbin/runtime-tokio", "sqlx/runtime-tokio-rustls", ]