diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f34aac5..82094751 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a - [[#419](https://github.com/plotly/plotly.rs/issues/419)] Upgrade bundled plotly.js from 3.6.0 to 3.7.0 - [[#422](https://github.com/plotly/plotly.rs/issues/422)] Add layout-level `uirevision` to preserve UI state (zoom/pan/selection) across re-renders (complements the trace-level `uirevision` added in #421) +### Fixed + +- Enable only the `serde_with` macros Plotly uses, avoiding unused dependencies such as `chrono` in downstream lockfiles. + ## [0.14.1] - 2026-02-15 ### Fixed diff --git a/plotly/Cargo.toml b/plotly/Cargo.toml index e0b68edd..231c7b50 100644 --- a/plotly/Cargo.toml +++ b/plotly/Cargo.toml @@ -67,7 +67,7 @@ once_cell = "1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_repr = "0.1" -serde_with = ">=2, <4" +serde_with = { version = ">=2, <4", default-features = false, features = ["macros"] } rand = { version = "0.10", default-features = false, features = ["alloc"] } async-trait = { version = "0.1", optional = true }