Skip to content

Conversation

@J3m3
Copy link
Contributor

@J3m3 J3m3 commented Jan 28, 2026

IMO, each commit message is self-explanatory, so I'll copy-paste them here.

  • Remove #[serde(default)] from optional fields. Fields of type Option are automatically deserialized to None when the corresponding keys are missing in rust-project.json, making the explicit attribute redundant.

  • Mark cfg, env, and is_proc_macro fields optional to match the corresponding data structure, project_json::CrateData.

J3m3 added 2 commits January 28, 2026 14:29
Remove `#[serde(default)]` from optional fields. Fields of type `Option`
are automatically deserialized to `None` when the corresponding keys are
missing in `rust-project.json`, making the explicit attribute redundant.
Mark `cfg`, `env`, and `is_proc_macro` fields optional to match the
corresponding data structure, `project_json::CrateData`.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants