cargo/crates/cargo-util-schemas
Ed Page 62eab55ed2 refactor(toml): Make it more obvious to update package-dependent fields
Inspired by my having forgotten to add `[lints]` to the if sequence.
Previously, we added a comment to suggest this but the further the code
is, the harder it is to track.

I considered a custom `Deserialize` impl, possibly through a new type,
that would error.
This would be the more "pure" solution.
Unfortunately, this would also have worse errors because the errors
would be reported to the `Deserializer` at the document-level, rather
than directly on the individual fields.
Well, we don't do on individual fields now but it is something we will
soon be exploring.
2024-01-08 15:34:38 -06:00
..
src refactor(toml): Make it more obvious to update package-dependent fields 2024-01-08 15:34:38 -06:00
Cargo.toml chore: bump cargo-util-schemas to 0.2.0 2023-12-20 10:38:03 -05:00
LICENSE-APACHE refactor(schemas): Pull out cargo-util-schemas crate 2023-12-15 13:22:25 -06:00
LICENSE-MIT refactor(schemas): Pull out cargo-util-schemas crate 2023-12-15 13:22:25 -06:00