You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix issues with latest getrandom 0.3 and wasm target
- reworked the wasm use case and removed the wasm feature flag, putting
everything behind the target specific dependencies
Signed-off-by: Andrei Gherghescu <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
3
3
4
4
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
6
+
## [0.13.0] - 2025-02-xx
7
+
### Changed
8
+
-[[#277](https://github.com/plotly/plotly.rs/pull/277)] Removed `wasm` feature flag and put evrything behind target specific dependencies. Added `.cargo/config.toml` for configuration flags needed by `getrandom` version 0.3 on `wasm` targets.
9
+
6
10
## [0.12.1] - 2025-01-02
7
11
### Fixed
8
12
-[[#269](https://github.com/plotly/plotly.rs/pull/269)] Fix publishing to crates.io issue
Copy file name to clipboardExpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -116,15 +116,15 @@ Enable the `kaleido` feature and opt in for automatic downloading of the `kaleid
116
116
# Cargo.toml
117
117
118
118
[dependencies]
119
-
plotly = { version = "0.12", features = ["kaleido", "kaleido_download"] }
119
+
plotly = { version = "0.13", features = ["kaleido", "kaleido_download"] }
120
120
```
121
121
122
122
Alternatively, enable only the `kaleido` feature and manually install Kaleido.
123
123
```toml
124
124
# Cargo.toml
125
125
126
126
[dependencies]
127
-
plotly = { version = "0.12", features = ["kaleido"] }
127
+
plotly = { version = "0.13", features = ["kaleido"] }
128
128
```
129
129
130
130
With the feature enabled, plots can be saved as any of `png`, `jpeg`, `webp`, `svg`, `pdf` and `eps`. Note that the plot will be a static image, i.e. they will be non-interactive.
@@ -149,7 +149,7 @@ Using `Plotly.rs` in a Wasm-based frontend framework is possible by enabling the
149
149
# Cargo.toml
150
150
151
151
[dependencies]
152
-
plotly = { version = "0.12", features = ["wasm"] }
152
+
plotly = { version = "0.13", features = ["wasm"] }
153
153
```
154
154
155
155
First, make sure that you have the Plotly JavaScript library in your base HTML template:
0 commit comments