-
-
Notifications
You must be signed in to change notification settings - Fork 250
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
schemars::gen
module name from 0.8.x is incompatible with 2024 edition
#377
Comments
schemars::gen
module name is incompatible with 2024 editionschemars::gen
module name from 0.8.x is incompatible with 2024 edition
It looks like some escaping needs to be added to the derive macro here: |
havasd
added a commit
to havasd/schemars
that referenced
this issue
Feb 23, 2025
…tible with rust 2024 edition Fixes: GREsau#376 and GREsau#377
havasd
added a commit
to havasd/schemars
that referenced
this issue
Feb 24, 2025
havasd
added a commit
to havasd/schemars
that referenced
this issue
Feb 24, 2025
havasd
added a commit
to havasd/schemars
that referenced
this issue
Feb 24, 2025
GREsau
pushed a commit
that referenced
this issue
Feb 25, 2025
eval-exec
pushed a commit
to eval-exec/schemars
that referenced
this issue
Feb 27, 2025
#376 and v0.8.22 changed the code emitted by proc macros to use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The 2024 edition now reserves
gen
as a keyword: https://doc.rust-lang.org/edition-guide/rust-2024/gen-keyword.htmlThis makes it difficult to use
schemars
from crates switching to the 2024 edition.The text was updated successfully, but these errors were encountered: