diff --git a/CHANGELOG.md b/CHANGELOG.md index 38f0d83b..bbc3a1de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a ## [0.8.5] - 2024-xx-xx ### Added +- [[#181](https://github.com/igiagkiozis/plotly/pull/181)] Fix compilation error when mixing the crate with `askama/with-axum` by adding `with-axum` feature. - [[#163](https://github.com/plotly/plotly.rs/pull/163)] Added `DensityMapbox`. - [[#153](https://github.com/igiagkiozis/plotly/pull/153)] Added `LayoutScene`. @@ -47,8 +48,7 @@ Version 0.8.0 represents a significant release which refactors a lot of the code - Support for `Sankey` diagrams - Support for `Plot3D` - 3D plots for scatter, line and surface data ### Changed -- Improve implementation of `private::NumOrString` to support more primitive types ([Issue -#47](https://github.com/igiagkiozis/plotly/issues/47)) +- Improve implementation of `private::NumOrString` to support more primitive types ([Issue #47](https://github.com/igiagkiozis/plotly/issues/47)) - Remove `private::TruthyEnum` in favour of a more robust way of serializing to `String` or `bool` - Refactor `Color` module - Refactored HTML templates with cleaner Javascript code diff --git a/plotly/Cargo.toml b/plotly/Cargo.toml index 5252fe5b..11b7880d 100644 --- a/plotly/Cargo.toml +++ b/plotly/Cargo.toml @@ -18,9 +18,11 @@ kaleido = ["plotly_kaleido"] plotly_ndarray = ["ndarray"] plotly_image = ["image"] wasm = ["getrandom", "js-sys", "wasm-bindgen", "wasm-bindgen-futures"] +with-axum = ["askama/with-axum", "askama_axum"] [dependencies] askama = { version = ">=0.11.0, <0.13.0", features = ["serde-json"] } +askama_axum = { version = "0.4.0", optional = true } dyn-clone = "1" erased-serde = "0.4" getrandom = { version = "0.2", features = ["js"], optional = true }