Cargo Features

[dependencies]
sqlx-macros_wasi = { version = "0.6.2", 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-rustls

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

migrate default = sha2

Enables migrate of sqlx-core_wasi

Affects sqlx-macros_wasi::migrate

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

runtimes

runtime-async-std-native-tls

Enables runtime-async-std-native-tls of sqlx-core_wasi and sqlx-rt_wasi

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

Enables runtime-tokio-native-tls of sqlx-core_wasi and sqlx-rt_wasi

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

Enables runtime-async-std-rustls of sqlx-core_wasi and sqlx-rt_wasi

runtime-tokio-rustls default runtime-actix-rustls?

Enables runtime-tokio-rustls of sqlx-core_wasi and sqlx-rt_wasi

offline = hex, serde, serde_json, sha2

offline building support

Enables offline of sqlx-core_wasi

Affects data::offline, query::expand_from_file

mysql

database

Enables mysql of sqlx-core_wasi

postgres

Enables postgres of sqlx-core_wasi

sqlite

Enables sqlite of sqlx-core_wasi

mssql

Enables mssql of sqlx-core_wasi

bigdecimal

type

Enables bigdecimal of sqlx-core_wasi

decimal

Enables decimal of sqlx-core_wasi

chrono

Enables chrono of sqlx-core_wasi

time

Enables time of sqlx-core_wasi

ipnetwork

Enables ipnetwork of sqlx-core_wasi

mac_address

Enables mac_address of sqlx-core_wasi

uuid

Enables uuid of sqlx-core_wasi

bit-vec

Enables bit-vec of sqlx-core_wasi

json = serde_json

Enables json of sqlx-core_wasi

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?