Cargo Features

[dependencies]
sqlx-macros-oldapi = { version = "0.6.38", default-features = false, features = ["migrate", "runtime-actix-native-tls", "runtime-async-std-native-tls", "runtime-tokio-native-tls", "runtime-actix-rustls", "runtime-async-std-rustls", "runtime-tokio-rustls", "offline", "mysql", "postgres", "sqlite", "mssql", "bigdecimal", "decimal", "chrono", "time", "ipnetwork", "mac_address", "uuid", "bit-vec", "json"] }
default = migrate, runtime-tokio-native-tls

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

migrate default = sha2

Enables migrate of sqlx-core-oldapi

Affects sqlx-macros-oldapi::migrate

runtime-actix-native-tls = runtime-tokio-native-tls

runtimes

runtime-async-std-native-tls

Enables runtime-async-std-native-tls of sqlx-core-oldapi and sqlx-rt-oldapi

runtime-tokio-native-tls default runtime-actix-native-tls?

Enables runtime-tokio-native-tls of sqlx-core-oldapi and sqlx-rt-oldapi

runtime-actix-rustls = runtime-tokio-rustls
runtime-async-std-rustls

Enables runtime-async-std-rustls of sqlx-core-oldapi and sqlx-rt-oldapi

runtime-tokio-rustls runtime-actix-rustls?

Enables runtime-tokio-rustls of sqlx-core-oldapi and sqlx-rt-oldapi

offline = hex, serde, serde_json, sha2

offline building support

Enables offline of sqlx-core-oldapi

Affects data::offline, query::expand_from_file

mysql

database

Enables mysql of sqlx-core-oldapi

postgres

Enables postgres of sqlx-core-oldapi

sqlite

Enables sqlite of sqlx-core-oldapi

mssql

Enables mssql of sqlx-core-oldapi

bigdecimal

type

Enables bigdecimal of sqlx-core-oldapi

decimal

Enables decimal of sqlx-core-oldapi

chrono

Enables chrono of sqlx-core-oldapi

time

Enables time of sqlx-core-oldapi

ipnetwork

Enables ipnetwork of sqlx-core-oldapi

mac_address

Enables mac_address of sqlx-core-oldapi

uuid

Enables uuid of sqlx-core-oldapi

bit-vec

Enables bit-vec of sqlx-core-oldapi

json = serde_json

Enables json of sqlx-core-oldapi

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.

hex offline?
serde offline?
serde_json json? offline?
sha2 migrate offline?