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
somewhere in the dependency tree.default-features = false - sqlite
-
Affects
db::Database
,db::DatabaseConnection
,db::DatabasePool
,db::DatabaseRow
,db::DatabasePoolOptions
,db::DatabaseQueryResult
… - mysql
-
Affects
db::Database
,db::DatabaseConnection
,db::DatabasePool
,db::DatabaseRow
,db::DatabasePoolOptions
,db::DatabaseQueryResult
… - postgres
-
Affects
db::Database
,db::DatabaseConnection
,db::DatabasePool
,db::DatabaseRow
,db::DatabasePoolOptions
,db::DatabaseQueryResult
… - runtime-tokio-native-tls
-
Enables runtime-tokio-native-tls of sqlx ^0.7
- runtime-tokio-rustls
-
Enables runtime-tokio-rustls of sqlx ^0.7
- runtime-tokio
-
Enables runtime-tokio of sqlx ^0.7
- runtime-async-std-native-tls
-
Enables runtime-async-std-native-tls of sqlx ^0.7
sqlx:
Legacy Runtime + TLS features
- runtime-async-std-rustls
-
Enables runtime-async-std-rustls of sqlx ^0.7
- runtime-async-std
-
Enables runtime-async-std of sqlx ^0.7
sqlx:
Base runtime features without TLS
- tls-native-tls
-
Enables tls-native-tls of sqlx ^0.7
sqlx:
TLS features
- tls-rustls
-
Enables tls-rustls of sqlx ^0.7
sqlx:
For backwards compatibility
- with-json default = serde_json
-
Enables bytes and optional chrono, serde of optional uuid and json of sqlx ^0.7
sqlx:
types
- with-chrono default = chrono
-
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