Cargo Features
rorm-db has no features set by default.
[dependencies]
rorm-db = { version = "0.10.1", features = ["all-driver", "serde", "mysql", "postgres", "sqlite", "postgres-only", "rustls", "native-tls"] }
- all-driver = mysql, postgres, sqlite
- serde
-
Enables serde
Serialization
- mysql all-driver?
-
database backends
Enables mysql of rorm-declaration, rorm-sql, and sqlx
sqlx:
SQL executor
- postgres all-driver? postgres-only?
-
Enables postgres of rorm-declaration, rorm-sql, and sqlx
- sqlite all-driver?
-
Enables sqlite of rorm-declaration, rorm-sql, and sqlx
- postgres-only = postgres
-
Exclusive drivers
Enables postgres-only of rorm-sql, bit-vec, ipnetwork and mac_address of sqlx
- rustls
-
sqlx tls
Enables tls-rustls of sqlx
- native-tls
-
Enables tls-native-tls of sqlx