The macros feature exists to allow disabling sqlx-macros, but the runtime features (as well as things like migrate) all enable corresponding features on sqlx-macros, which in turn enables sqlx-macros.
rust-lang/cargo#8818 will address this, once available in stable Cargo. Until then, you might consider recommending that users who don't need macros depend on sqlx_core directly.
The
macrosfeature exists to allow disablingsqlx-macros, but the runtime features (as well as things likemigrate) all enable corresponding features onsqlx-macros, which in turn enablessqlx-macros.rust-lang/cargo#8818 will address this, once available in stable Cargo. Until then, you might consider recommending that users who don't need macros depend on
sqlx_coredirectly.