Email me

Crate features / sqlx-macros

Feature flags · sqlx-macros 0.9.0 · from crates.io 2026-10-24

sqlx-macros features: what each one does, and the line to copy

Short answersqlx-macros 0.9.0 has 28 features. Nothing is on by default: turn on what you use. It needs Rust 1.94.0 or newer.

Pick features

0.9.0latest version
28features
0optional dependencies
1.94.0MSRV (rust-version)

Every feature

FeatureIn defaultTurns on
_rt-async-global-executorsqlx-macros-core/_rt-async-global-executor
_rt-async-stdsqlx-macros-core/_rt-async-std
_rt-smolsqlx-macros-core/_rt-smol
_rt-tokiosqlx-macros-core/_rt-tokio
_tls-native-tlssqlx-macros-core/_tls-native-tls
_tls-rustls-aws-lc-rssqlx-macros-core/_tls-rustls-aws-lc-rs
_tls-rustls-ring-native-rootssqlx-macros-core/_tls-rustls-ring-native-roots
_tls-rustls-ring-webpkisqlx-macros-core/_tls-rustls-ring-webpki
bigdecimalsqlx-macros-core/bigdecimal
bit-vecsqlx-macros-core/bit-vec
chronosqlx-macros-core/chrono
derivesqlx-macros-core/derive
ipnetsqlx-macros-core/ipnet
ipnetworksqlx-macros-core/ipnetwork
jsonsqlx-macros-core/json
mac_addresssqlx-macros-core/mac_address
macrossqlx-macros-core/macros
migratesqlx-macros-core/migrate
mysqlsqlx-macros-core/mysql
mysql-rsasqlx-macros-core/mysql-rsa
postgressqlx-macros-core/postgres
rust_decimalsqlx-macros-core/rust_decimal
sqlitesqlx-macros-core/sqlite
sqlite-load-extensionsqlx-macros-core/sqlite-load-extension
sqlite-unbundledsqlx-macros-core/sqlite-unbundled
sqlx-tomlsqlx-macros-core/sqlx-toml
timesqlx-macros-core/time
uuidsqlx-macros-core/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 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 --precise <version>, or use resolver 3, which picks compatible versions for you.

More on sqlx-macros

Real downloads, dependents and alternatives: sqlx-macros crate data (540.1K real downloads a day, 3 dependents).

docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021

Up next

Before you depend on itsqlx-macros crate dataReal downloads, dependents, alternatives.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ