You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think my preferred fix to this would be to make SchemaSettings available from the crate root (SchemaGenerator is already available from the crate root) so that it can be imported as use schemars::SchemaSettings.
And obviously schemars_derive would need updating to not use the gen module (or any variables called gen)
This is fixed in 1.0.0-alpha.8 - the gen module is now replaced by the generate module. For now, gen is still available as as a deprecated alias for the sake of backward-compatibility
There are couple of issues with schemars and rust 2024:
schemars::gen::SchemaGenerator
requires ugly syntaxschemars::r#gen::SchemaGenerator
gen
inside, so it is unusable in 2024I guess it is better to rename the gen module? Objections?
The text was updated successfully, but these errors were encountered: