Skip to content

Commit eece19a

Browse files
committed
Update various minor stuffs and prepare for 0.8.0
1 parent 2e01ae5 commit eece19a

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## Changelog
22

3+
### 0.8.0 (2023-02-21)
4+
5+
- Be less restrictive about the geo-types version and use geo_types::Coord instead of deprecated geo_types::Coordinate.
6+
7+
- Update to Rust 2021 edition.
8+
39
### 0.7.0 (2022-09-23)
410

511
- BREAKING: Make geojson optional, use geo-types for geometry representation

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "contour"
33
version = "0.7.0"
4-
authors = ["Matthieu Viry <matthieu.viry@univ-grenoble-alpes.fr>"]
5-
edition = "2018"
4+
authors = ["Matthieu Viry <matthieu.viry@cnrs.fr>"]
5+
edition = "2021"
66

77
description = "Compute isorings and contour polygons (using marching squares algorithm)."
88
repository = "https://github.com/mthh/contour-rs"
@@ -14,7 +14,7 @@ license = "MIT/Apache-2.0"
1414

1515
[dependencies]
1616
geojson = { version = ">=0.16, <=0.24", optional = true }
17-
geo-types= { version = "0.7.0" }
17+
geo-types= { version = "0.7" }
1818
lazy_static = "1.0"
1919
serde_json = "^1.0"
2020
rustc-hash = "1.0"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Add this to your `Cargo.toml`:
1818

1919
```toml
2020
[dependencies]
21-
contour = "0.7.0"
21+
contour = "0.8.0"
2222
```
2323

2424
and this to your crate root:
@@ -82,7 +82,7 @@ The `geojson` feature is not enabled by default, so you need to specify it in yo
8282

8383
```toml
8484
[dependencies]
85-
contour = { version = "0.7.0", features = ["geojson"] }
85+
contour = { version = "0.8.0", features = ["geojson"] }
8686
```
8787

8888
```rust

src/contour.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use lazy_static::lazy_static;
55
use rustc_hash::FxHashMap;
66
use slab::Slab;
77

8-
pub type Pt = geo_types::Coordinate;
8+
pub type Pt = geo_types::Coord;
99
pub type Ring = Vec<Pt>;
1010

1111
lazy_static! {

0 commit comments

Comments
 (0)