Cargo Features
rorm-db has no features set by default.
[dependencies]
rorm-db = { version = "0.9.1", features = ["all-driver", "serde", "mysql", "postgres", "sqlite", "postgres-only", "async-std", "tokio", "rustls", "native-tls"] }
- all-driver = mysql, postgres, sqlite
- serde
-
Enables serde
Serialization
Logging facade
- mysql all-driver?
-
database backends
Enables mysql of rorm-declaration, rorm-sql, and sqlx ~0.7
sqlx:
SQL executor. Optional because it requires a runtime and a TLS implementation.
- postgres all-driver? postgres-only?
-
Enables postgres of rorm-declaration, rorm-sql, and sqlx ~0.7
- sqlite all-driver?
-
Enables sqlite of rorm-declaration, rorm-sql, and sqlx ~0.7
- postgres-only = postgres
-
Exclusive drivers
Enables postgres-only of rorm-sql, bit-vec, ipnetwork and mac_address of sqlx ~0.7
- async-std
-
sqlx runtime
Enables runtime-async-std of sqlx ~0.7
- tokio
-
Enables runtime-tokio of sqlx ~0.7
- rustls
-
sqlx tls
Enables tls-rustls of sqlx ~0.7
- native-tls
-
Enables tls-native-tls of sqlx ~0.7
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 async-std? mysql? native-tls? postgres? postgres-only? rustls? sqlite? tokio?
-
Enables sqlx ~0.7
Affects
row::Decode
,row::RowIndex
…