Skip to content

Not possible to disable sqlx-macros #955

@joshtriplett

Description

@joshtriplett

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs cargo featurerequires stabilization of a Cargo feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions