Skip to content

Commit

Permalink
Merge pull request #33 from spadarian/update_geo
Browse files Browse the repository at this point in the history
Upgrade geo dependency from 0.19 to 0.20
  • Loading branch information
Ihor authored May 30, 2022
2 parents 7198a03 + 210338e commit 69babb3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ robust = "0.2"
float_next_after = "0.1"

[dev-dependencies]
rand = "0.3"
rand = "0.8"

[features]
debug-booleanop = []
6 changes: 3 additions & 3 deletions tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2018"

[dependencies]
geo-booleanop = { path = "../lib", features = [] } # add "debug-booleanop" for debugging
geo = "0.19"
geo = "0.20"

# Note: It is crucial to enable arbitrary_precision on serde_json, otherwise
# JSON parsing isn't exact.
Expand All @@ -16,8 +16,8 @@ serde_json = { version = "1.0.44", features = ["arbitrary_precision"] }
clap = "2.3.3"
num-traits = "0.2"
glob = "0.3"
pretty_assertions = "0.6"
rand = "0.7.3"
pretty_assertions = "1.2"
rand = "0.8"

[dev-dependencies]
criterion = "0.3"
Expand Down
4 changes: 2 additions & 2 deletions tests/src/data_generators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ pub fn generate_random_triangles(num_polys: usize, seed: u64) -> MultiPolygon<f6
let mut rng: StdRng = SeedableRng::seed_from_u64(seed);

let mut rand_coord = || Coordinate {
x: rng.gen_range(-1.0f64, 1.0f64),
y: rng.gen_range(-1.0f64, 1.0f64),
x: rng.gen_range(-1.0f64..1.0f64),
y: rng.gen_range(-1.0f64..1.0f64),
};

MultiPolygon(
Expand Down

0 comments on commit 69babb3

Please sign in to comment.