# 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 = "sea_orm_casbin_adapter" version = "0.3.8" authors = ["lingdu "] description = "❤ casbin adapter for rust with sea_orm" homepage = "https://github.com/lingdu1234/sea_orm_casbin_adapter.git" documentation = "https://docs.rs/sea_orm_casbin_adapter" readme = "README.md" keywords = [ "casbin", "mysql", "postgres", "sqlite", "sea_orm", ] categories = ["database"] license = "MIT" repository = "https://github.com/lingdu1234/sea_orm_casbin_adapter.git" resolver = "2" [package.metadata.docs.rs] features = [ "mysql", "runtime-tokio-rustls", ] [profile.release] opt-level = "z" lto = true codegen-units = 1 debug = false panic = "abort" [dependencies.actix-rt] version = "2.7.0" optional = true default-features = false [dependencies.async-std] version = "1.11.0" optional = true [dependencies.async-trait] version = "0.1.53" [dependencies.casbin] version = "2.0.9" features = ["logging"] default-features = false [dependencies.sea-orm] version = "0.8" features = ["macros"] default-features = false [dependencies.sqlx] version = "^0.5" optional = true [dependencies.tokio] version = "1.18.2" optional = true default-features = false [dev-dependencies.tokio] version = "1.18.2" features = ["full"] [features] async_runtime = [] default = [] mysql = ["sea-orm/sqlx-mysql"] postgres = ["sea-orm/sqlx-postgres"] runtime-actix-native-tls = [ "casbin/runtime-tokio", "sqlx/runtime-actix-native-tls", ] runtime-actix-rustls = [ "casbin/runtime-tokio", "sqlx/runtime-actix-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", ] sqlite = ["sea-orm/sqlx-sqlite"]