Cargo Features
[dependencies]
sqlx-adapter = { version = "1.6.0", default-features = false, features = ["postgres", "mysql", "sqlite", "runtime-async-std-native-tls", "runtime-async-std-rustls", "runtime-tokio", "runtime-tokio-native-tls", "runtime-tokio-rustls", "tokio", "async-std"] }
- default = postgres, runtime-tokio-native-tls
-
These default features are set whenever
sqlx-adapter
is added without
somewhere in the dependency tree.default-features = false - postgres default
-
databases
Affects
actions::ConnectionPool
,actions::new
,actions::remove_policy
,actions::remove_policies
,actions::remove_filtered_policy
… - mysql
-
Affects
actions::ConnectionPool
,actions::new
,actions::remove_policy
,actions::remove_policies
,actions::remove_filtered_policy
… - sqlite
-
Affects
actions::ConnectionPool
,actions::new
,actions::remove_policy
,actions::remove_policies
,actions::remove_filtered_policy
… - runtime-async-std-native-tls
-
async runtime
async-stdEnables runtime-async-std of casbin, runtime-async-std-native-tls of sqlx
- runtime-async-std-rustls
-
Enables runtime-async-std of casbin, runtime-async-std-rustls of sqlx
- runtime-tokio
-
tokio
Enables runtime-tokio of casbin and sqlx
- runtime-tokio-native-tls default
-
Enables runtime-tokio of casbin, runtime-tokio-native-tls of sqlx
- runtime-tokio-rustls
-
Enables runtime-tokio of casbin, runtime-tokio-rustls of sqlx