Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to disable sqlx-macros #955

Open
joshtriplett opened this issue Jan 2, 2021 · 0 comments
Open

Not possible to disable sqlx-macros #955

joshtriplett opened this issue Jan 2, 2021 · 0 comments
Labels
needs cargo feature requires stabilization of a Cargo feature

Comments

@joshtriplett
Copy link
Contributor

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.

@abonander abonander added the needs cargo feature requires stabilization of a Cargo feature label Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs cargo feature requires stabilization of a Cargo feature
Projects
None yet
Development

No branches or pull requests

2 participants