Cargo Features

xql has no features set by default.

xql = { version = "0.2.7", features = ["derive", "postgres", "mysql", "sqlite", "use-chrono", "use-decimal", "sqlx"] }
derive = xql-derive

Enables postgres of sqlx ^0.5


Enables mysql of sqlx ^0.5


Enables sqlite of sqlx ^0.5

use-chrono = chrono

Enables chrono of sqlx ^0.5

use-decimal = rust_decimal

Enables decimal of sqlx ^0.5

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

sqlx implicit feature

Enables runtime-tokio-rustls of sqlx ^0.5

Affects stmt::StmtExt, bind::Query, bind::Bind, exec::Backend, exec::fetch_one, exec::fetch_optional, exec::fetch_all, exec::fetch_one_as, exec::fetch_optional_as, exec::fetch_all_as, exec::fetch_one_scalar, exec::fetch_optional_scalar, exec::fetch_all_scalar

chrono use-chrono?
rust_decimal use-decimal?
xql-derive derive?