Cargo Features

[dependencies]
arel = { version = "0.3.8", default-features = false, features = ["sqlite", "mysql", "postgres", "runtime-tokio-native-tls", "runtime-tokio-rustls", "runtime-tokio", "runtime-async-std-native-tls", "runtime-async-std-rustls", "runtime-async-std", "tls-native-tls", "tls-rustls", "with-json", "with-chrono", "uuid"] }
default = with-chrono, with-json

These default features are set whenever arel is added without default-features = false somewhere in the dependency tree.

sqlite

Enables sqlite of sqlx

Affects db::Database, db::DatabaseConnection, db::DatabasePool, db::DatabaseRow, db::DatabasePoolOptions, db::DatabaseQueryResult

mysql

Enables mysql of sqlx

Affects db::Database, db::DatabaseConnection, db::DatabasePool, db::DatabaseRow, db::DatabasePoolOptions, db::DatabaseQueryResult

postgres

Enables postgres of sqlx

Affects db::Database, db::DatabaseConnection, db::DatabasePool, db::DatabaseRow, db::DatabasePoolOptions, db::DatabaseQueryResult

runtime-tokio-native-tls

Enables runtime-tokio-native-tls of sqlx

runtime-tokio-rustls

Enables runtime-tokio-rustls of sqlx

runtime-tokio

Enables runtime-tokio of sqlx

runtime-async-std-native-tls

Enables runtime-async-std-native-tls of sqlx

sqlx:

Legacy Runtime + TLS features

runtime-async-std-rustls

Enables runtime-async-std-rustls of sqlx

runtime-async-std

Enables runtime-async-std of sqlx

sqlx:

Base runtime features without TLS

tls-native-tls

Enables tls-native-tls of sqlx

sqlx:

TLS features

tls-rustls

Enables tls-rustls of sqlx

with-json default = serde_json

Enables bytes and optional chrono, serde of optional uuid and json of sqlx

sqlx:

types

with-chrono default = chrono

Enables chrono of sqlx

Affects value_chrono_date::ValueChronoDate, value_chrono_datetime::ValueChronoDateTime, value_chrono_time::ValueChronoTime

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.

serde_json with-json
chrono with-chrono
uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs