# 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-adapter" version = "0.4.0" authors = ["zihan "] build = false include = [ "src/**/*", "Cargo.toml", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Sea ORM adapter for casbin-rs" homepage = "https://github.com/ZihanType/sea-orm-adapter" readme = "README.md" keywords = [ "casbin", "adapter", "sea-orm", ] license = "MIT/Apache-2.0" repository = "https://github.com/ZihanType/sea-orm-adapter" [lib] name = "sea_orm_adapter" path = "src/lib.rs" [dependencies.async-trait] version = "0.1" default-features = false [dependencies.casbin] version = "2" default-features = false [dependencies.sea-orm] version = "1" features = ["macros"] default-features = false [dev-dependencies.tokio] version = "1" features = ["full"] default-features = false [features] default = [ "mysql", "runtime-tokio-rustls", ] mysql = ["sea-orm/sqlx-mysql"] postgres = ["sea-orm/sqlx-postgres"] runtime-actix-native-tls = [ "casbin/runtime-tokio", "sea-orm/runtime-actix-native-tls", ] runtime-actix-rustls = [ "casbin/runtime-tokio", "sea-orm/runtime-actix-rustls", ] runtime-async-std-native-tls = [ "casbin/runtime-async-std", "sea-orm/runtime-async-std-native-tls", ] runtime-async-std-rustls = [ "casbin/runtime-async-std", "sea-orm/runtime-async-std-rustls", ] runtime-tokio-native-tls = [ "casbin/runtime-tokio", "sea-orm/runtime-tokio-native-tls", ] runtime-tokio-rustls = [ "casbin/runtime-tokio", "sea-orm/runtime-tokio-rustls", ] sqlite = ["sea-orm/sqlx-sqlite"]