Skip to content

Enable only the serde_with macros Plotly uses - #453

Closed
inhesrom wants to merge 1 commit into
plotly:mainfrom
inhesrom:chrono-audit-macros-only
Closed

inhesrom wants to merge 1 commit into
plotly:mainfrom
inhesrom:chrono-audit-macros-only

Conversation

@inhesrom

@inhesrom inhesrom commented Dec 1, 2026

Copy link
Copy Markdown

Plotly uses serde_with for skip_serializing_none. Its default features can leave unused optional dependencies such as chrono in downstream lockfiles, where strict audit flags them. Disable the defaults and keep the macros feature.

Checks: On Cargo 1.95, a downstream probe dropped chrono from its lockfile, passed strict audit, and generated HTML with embedded Plotly.js.

Plotly uses serde_with for skip_serializing_none. Disable its default features to avoid retaining unused optional dependencies such as chrono in downstream lockfiles.

Verification: on Cargo 1.95, the unchanged downstream probe fails strict audit with the Chrono maintenance advisory; the patched probe removes Chrono, passes strict audit, and generates embedded HTML successfully.
@inhesrom inhesrom closed this Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant