Crate features / sqlx-macros-core
Feature flags · sqlx-macros-core 0.9.0 · from crates.io 2026-10-24
sqlx-macros-core features: what each one does, and the line to copy
Short answersqlx-macros-core 0.9.0 has 29 features. Nothing is on by default: turn on what you use. It needs Rust 1.94.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
_rt-async-global-executor | async-global-executor, sqlx-core/_rt-async-global-executor | |
_rt-async-std | async-std, sqlx-core/_rt-async-std | |
_rt-smol | smol, sqlx-core/_rt-smol | |
_rt-tokio | tokio, sqlx-core/_rt-tokio | |
_sqlite | nothing else (a switch the code checks) | |
_tls-native-tls | sqlx-core/_tls-native-tls | |
_tls-rustls-aws-lc-rs | sqlx-core/_tls-rustls-aws-lc-rs | |
_tls-rustls-ring-native-roots | sqlx-core/_tls-rustls-ring-native-roots | |
_tls-rustls-ring-webpki | sqlx-core/_tls-rustls-ring-webpki | |
bigdecimal | sqlx-core/bigdecimal, sqlx-mysql?/bigdecimal, sqlx-postgres?/bigdecimal | |
bit-vec | sqlx-core/bit-vec, sqlx-postgres?/bit-vec | |
chrono | sqlx-core/chrono, sqlx-mysql?/chrono, sqlx-postgres?/chrono, sqlx-sqlite?/chrono | |
derive | nothing else (a switch the code checks) | |
ipnet | sqlx-core/ipnet, sqlx-postgres?/ipnet | |
ipnetwork | sqlx-core/ipnetwork, sqlx-postgres?/ipnetwork | |
json | sqlx-core/json, sqlx-mysql?/json, sqlx-postgres?/json, sqlx-sqlite?/json | |
mac_address | sqlx-core/mac_address, sqlx-postgres?/mac_address | |
macros | thiserror | |
migrate | sqlx-core/migrate | |
mysql | sqlx-mysql | |
mysql-rsa | mysql, sqlx-mysql/rsa | |
postgres | sqlx-postgres | |
rust_decimal | sqlx-core/rust_decimal, sqlx-mysql?/rust_decimal, sqlx-postgres?/rust_decimal | |
sqlite | _sqlite, sqlx-sqlite/bundled | |
sqlite-load-extension | sqlx-sqlite/load-extension | |
sqlite-unbundled | _sqlite, sqlx-sqlite/unbundled | |
sqlx-toml | sqlx-core/sqlx-toml, sqlx-sqlite?/sqlx-toml | |
time | sqlx-core/time, sqlx-mysql?/time, sqlx-postgres?/time, sqlx-sqlite?/time | |
uuid | sqlx-core/uuid, sqlx-mysql?/uuid, sqlx-postgres?/uuid, sqlx-sqlite?/uuid |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version sqlx-macros-core declares (rust-version), and the release that changed it:
- 0.9.0-alpha.1 (2025-10-15): Rust 1.86.0
- 0.9.0 (2026-05-21): Rust 1.94.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p sqlx-macros-core --precise <version>, or use resolver 3, which picks compatible versions for you.
More on sqlx-macros-core
Real downloads, dependents and alternatives: sqlx-macros-core crate data (532.5K real downloads a day, 10 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itsqlx-macros-core crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?