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

Use proc_macro::quote!() when stabilized. #9

Open
parasyte opened this issue Apr 21, 2023 · 0 comments
Open

Use proc_macro::quote!() when stabilized. #9

parasyte opened this issue Apr 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@parasyte
Copy link
Owner

We currently use a whole bunch of string interpolation (format!()) to generate code, and the situation would be greatly improved by switching to proc_macro::quote!() when it is stable. It's behind a feature gate and tracked in rust-lang/rust#54722

We will not be adding a dependency on the quote crate, since it pulls in all of proc_macro2 and would severely regress build times.

@parasyte parasyte added the enhancement New feature or request label Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant