From 4e182d382656b691d3067e4d66ac78e116319fe6 Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Mon, 1 Apr 2019 21:00:48 +0200 Subject: [PATCH] Prepare for more efficient polygon intersection check --- Cargo.lock | 1 + Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 4c3f8a8..1a8c38f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6,6 +6,7 @@ version = "0.1.0" dependencies = [ "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "geo 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rstar 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "structopt 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)", "svg 0.5.12 (registry+https://github.com/rust-lang/crates.io-index)", "svgdom 0.16.1 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index d6afb64..e9ecf99 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,3 +15,4 @@ svg = "0.5.11" chrono = "0.4.6" structopt = { version = "0.2", default-features = false } svgdom = "0.16.1" +rstar = "0.2.0"