Cargo Features
[dependencies]
axum_database_sessions = { version = "7.0.2", default-features = false, features = ["sqlite-rustls", "sqlite-native", "postgres-rustls", "postgres-native", "mysql-rustls", "mysql-native", "redis-db", "surrealdb-rocksdb", "surrealdb-tikv", "surrealdb-indxdb", "surrealdb-fdb-5_1", "surrealdb-fdb-5_2", "surrealdb-fdb-6_0", "surrealdb-fdb-6_1", "surrealdb-fdb-6_2", "surrealdb-fdb-6_3", "surrealdb-fdb-7_0", "surrealdb-fdb-7_1", "surrealdb-mem", "surrealdb_tag", "fdb_tag"] }
- default = postgres-rustls
-
The
postgres-rustls
feature is set by default wheneveraxum_database_sessions
is added without
somewhere in the dependency tree.default-features = false - sqlite-rustls
-
Enables runtime-tokio-rustls and sqlite of sqlx ^0.6.3
- sqlite-native
-
Enables runtime-tokio-native-tls and sqlite of sqlx ^0.6.3
- postgres-rustls default
-
Enables postgres and runtime-tokio-rustls of sqlx ^0.6.3
- postgres-native
-
Enables postgres and runtime-tokio-native-tls of sqlx ^0.6.3
- mysql-rustls
-
Enables mysql and runtime-tokio-rustls of sqlx ^0.6.3
- mysql-native
-
Enables mysql and runtime-tokio-native-tls of sqlx ^0.6.3
- redis-db = redis
- surrealdb-rocksdb = surrealdb_tag
-
Enables kv-rocksdb of surrealdb ^1.0.0-beta.8
- surrealdb-tikv = surrealdb_tag
-
Enables kv-tikv of surrealdb ^1.0.0-beta.8
- surrealdb-indxdb = surrealdb_tag
-
Enables kv-indxdb of surrealdb ^1.0.0-beta.8
- surrealdb-fdb-5_1 = fdb_tag, surrealdb_tag
-
Enables kv-fdb-5_1 of surrealdb ^1.0.0-beta.8
- surrealdb-fdb-5_2 = fdb_tag, surrealdb_tag
-
Enables kv-fdb-5_2 of surrealdb ^1.0.0-beta.8
- surrealdb-fdb-6_0 = fdb_tag, surrealdb_tag
-
Enables kv-fdb-6_0 of surrealdb ^1.0.0-beta.8
- surrealdb-fdb-6_1 = fdb_tag, surrealdb_tag
-
Enables kv-fdb-6_1 of surrealdb ^1.0.0-beta.8
- surrealdb-fdb-6_2 = fdb_tag, surrealdb_tag
-
Enables kv-fdb-6_2 of surrealdb ^1.0.0-beta.8
- surrealdb-fdb-6_3 = fdb_tag, surrealdb_tag
-
Enables kv-fdb-6_3 of surrealdb ^1.0.0-beta.8
- surrealdb-fdb-7_0 = fdb_tag, surrealdb_tag
-
Enables kv-fdb-7_0 of surrealdb ^1.0.0-beta.8
- surrealdb-fdb-7_1 = fdb_tag, surrealdb_tag
-
Enables kv-fdb-7_1 of surrealdb ^1.0.0-beta.8
surrealdb:
Special features
- surrealdb-mem = surrealdb_tag
-
Enables kv-mem of surrealdb ^1.0.0-beta.8
- surrealdb_tag surrealdb-fdb-5_1? surrealdb-fdb-5_2? surrealdb-fdb-6_0? surrealdb-fdb-6_1? surrealdb-fdb-6_2? surrealdb-fdb-6_3? surrealdb-fdb-7_0? surrealdb-fdb-7_1? surrealdb-indxdb? surrealdb-mem? surrealdb-rocksdb? surrealdb-tikv?
-
private features.
- fdb_tag surrealdb-fdb-5_1? surrealdb-fdb-5_2? surrealdb-fdb-6_0? surrealdb-fdb-6_1? surrealdb-fdb-6_2? surrealdb-fdb-6_3? surrealdb-fdb-7_0? surrealdb-fdb-7_1?
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.
- sqlx mysql-native? mysql-rustls? postgres-native? postgres-rustls sqlite-native? sqlite-rustls?
-
Enables sqlx ^0.6.3
- redis redis-db?
-
Enables redis ^0.22.3
- surrealdb surrealdb-fdb-5_1? surrealdb-fdb-5_2? surrealdb-fdb-6_0? surrealdb-fdb-6_1? surrealdb-fdb-6_2? surrealdb-fdb-6_3? surrealdb-fdb-7_0? surrealdb-fdb-7_1? surrealdb-indxdb? surrealdb-mem? surrealdb-rocksdb? surrealdb-tikv?
-
Enables surrealdb ^1.0.0-beta.8