plotters-rs / plotters

A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀
https://plotters-rs.github.io/home/
MIT License
3.82k stars 277 forks source link

plotters: update chrono dependency to 0.4.32 #625

Closed eric-seppanen closed 1 month ago

eric-seppanen commented 1 month ago

The plotters code makes use of AddAssign on chrono::Duration (added in 24bf0638), but that wasn't added to chrono until 0.4.32.

Without this fix, if an existing workspace adds plotters but already has a Cargo.lock containing an earlier release of chrono 0.4.x, plotters will fail to compile.

Fixes #624.