Cargo Features
[dependencies]
async-sqlx-session = { version = "0.4.0", default-features = false, features = ["sqlite", "pg", "native-tls", "rustls", "async_std", "mysql"] }
- default = native-tls
-
The
native-tls
feature is set by default wheneverasync-sqlx-session
is added without
somewhere in the dependency tree.default-features = false - sqlite
-
Enables sqlite of sqlx ^0.5.5
- pg
-
Enables json and postgres of sqlx ^0.5.5
- native-tls default
-
Enables runtime-async-std-native-tls of sqlx ^0.5.5
sqlx:
Legacy Runtime + TLS features
- rustls
-
Enables runtime-async-std-rustls of sqlx ^0.5.5
- async_std = async-std
- mysql
-
Enables json and mysql of sqlx ^0.5.5
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.