Cargo Features
sea_orm_casbin_adapter has no features set by default.
[dependencies]
sea_orm_casbin_adapter = { version = "0.3.8", features = ["mysql", "postgres", "sqlite", "async_runtime", "runtime-async-std-native-tls", "runtime-async-std-rustls", "runtime-tokio-native-tls", "runtime-tokio-rustls", "runtime-actix-native-tls", "runtime-actix-rustls", "actix-rt", "async-std", "tokio"] }
- mysql
-
Enables sqlx-mysql of sea-orm ^0.8
- postgres
-
Enables sqlx-postgres of sea-orm ^0.8
- sqlite
-
Enables sqlx-sqlite of sea-orm ^0.8
- async_runtime
-
async runtime
async-std - runtime-async-std-native-tls
-
Enables runtime-async-std of casbin and runtime-async-std-native-tls of sqlx ^0.5
sqlx:
Legacy Runtime + TLS features
- runtime-async-std-rustls
-
Enables runtime-async-std of casbin, runtime-async-std-rustls of sqlx ^0.5
- runtime-tokio-native-tls
-
tokio
Enables runtime-tokio of casbin, runtime-tokio-native-tls of sqlx ^0.5
- runtime-tokio-rustls
-
Enables runtime-tokio of casbin, runtime-tokio-rustls of sqlx ^0.5
- runtime-actix-native-tls
-
actix (actually based on tokio)
Enables runtime-tokio of casbin, runtime-actix-native-tls of sqlx ^0.5
- runtime-actix-rustls
-
Enables runtime-tokio of casbin, runtime-actix-rustls of sqlx ^0.5
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- actix-rt implicit feature
-
Enables actix-rt
option
- async-std implicit feature
-
Enables async-std
async-std:
Async version of the Rust standard library
- sqlx runtime-actix-native-tls? runtime-actix-rustls? runtime-async-std-native-tls? runtime-async-std-rustls? runtime-tokio-native-tls? runtime-tokio-rustls?
-
Enables sqlx ^0.5
- tokio implicit feature
-
Enables tokio
tokio:
An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications