Skip to content

Commit

Permalink
Update dependencies and prepare for 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mthh committed Jan 15, 2024
1 parent 07e09eb commit 01c34fd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## 0.3.0

- Update `contour` and `contour-isobands` dependencies.

## 0.2.0

- Fix built code sent to npm.
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contour-wasm"
version = "0.2.0"
version = "0.3.0"
authors = ["Matthieu Viry <matthieu.viry@cnrs.fr>"]
edition = "2021"
license = "AGPL-3.0-or-later"
Expand All @@ -20,8 +20,8 @@ wee_alloc = ["dep:wee_alloc"]

[dependencies]
wasm-bindgen = "0.2"
contour = { version = "0.11.0", features = ["geojson"] }
contour-isobands = { version = "0.3.1", features = ["geojson"] }
contour = { version = "0.12", features = ["geojson"] }
contour-isobands = { version = "0.4", features = ["geojson"] }
geojson = "0.24"
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.6.1"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ const result = contours.isolines(data, 4, 4, [0, 1.5], options);
### Micro-benchmark

**Performance of `isobands` function from this module compared to [MarchingSquaresJS.isoBands](https://github.com/RaumZeit/MarchingSquares.js/)**
(which is also the package used internally by [turf-isobands](https://github.com/Turfjs/turf/tree/master/packages/turf-isobands)).

| Data size (number of points) | Number of intervals | MarchingSquares.js | contour-wasm |
|------------------------------|---------------------|--------------------|--------------|
Expand Down

0 comments on commit 01c34fd

Please sign in to comment.