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

and serde of log

Logging facade

mysql all-driver?

database backends

Enables mysql of rorm-declaration, rorm-sql, and sqlx

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

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

async-std

sqlx runtime

Enables runtime-async-std of sqlx

tokio

Enables runtime-tokio of sqlx

rustls

sqlx tls

Enables tls-rustls of sqlx

native-tls

Enables tls-native-tls of sqlx

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?

Affects row::Decode, row::RowIndex