From 8703e58015405825fe41c50734dea06d0b54b293 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 20:46:40 +0000 Subject: [PATCH 1/2] Bump geojson from 0.24.2 to 1.0.0 in /rust/case2geojson Bumps [geojson](https://github.com/georust/geojson) from 0.24.2 to 1.0.0. - [Changelog](https://github.com/georust/geojson/blob/main/CHANGES.md) - [Commits](https://github.com/georust/geojson/compare/0.24.2...v1.0.0) --- updated-dependencies: - dependency-name: geojson dependency-version: 1.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- rust/case2geojson/Cargo.lock | 21 +++++++++++++++++++-- rust/case2geojson/Cargo.toml | 2 +- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/rust/case2geojson/Cargo.lock b/rust/case2geojson/Cargo.lock index 0451595..ef8d7c2 100644 --- a/rust/case2geojson/Cargo.lock +++ b/rust/case2geojson/Cargo.lock @@ -463,15 +463,16 @@ dependencies = [ [[package]] name = "geojson" -version = "0.24.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e26f3c45b36fccc9cf2805e61d4da6bc4bbd5a3a9589b01afa3a40eff703bd79" +checksum = "510c094bfc76ea34d02eee00833254945b70491d79a9c0b050abed6eaa799ffb" dependencies = [ "geo-types", "log", "serde", "serde_json", "thiserror 2.0.12", + "tinyvec", ] [[package]] @@ -1778,6 +1779,22 @@ dependencies = [ "syn 2.0.100", ] +[[package]] +name = "tinyvec" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e61e67053d25a4e82c844e8424039d9745781b3fc4f32b8d55ed50f5f667ef3" +dependencies = [ + "serde_core", + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + [[package]] name = "tokio" version = "1.50.0" diff --git a/rust/case2geojson/Cargo.toml b/rust/case2geojson/Cargo.toml index 7f33507..a18095d 100644 --- a/rust/case2geojson/Cargo.toml +++ b/rust/case2geojson/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -geojson = "0.24.1" +geojson = "1.0.0" iref = "3.2.2" json-ld = { version = "0.21.4" } oxigraph = { version = "0.5.6", default-features = false} From fb5f0bd1d193ed72191a4ba7e3f496466f47eb19 Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Mon, 16 Mar 2026 17:06:16 -0400 Subject: [PATCH 2/2] Update to new crate-version API References: * https://github.com/georust/geojson/pull/264 * https://github.com/georust/geojson/pull/265 Signed-off-by: Alex Nelson --- rust/case2geojson/src/main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rust/case2geojson/src/main.rs b/rust/case2geojson/src/main.rs index c7fe5c8..0da0ebe 100644 --- a/rust/case2geojson/src/main.rs +++ b/rust/case2geojson/src/main.rs @@ -187,10 +187,7 @@ WHERE let f_latitude = (s_latitude).parse::().unwrap(); let f_longitude = (s_longitude).parse::().unwrap(); - gj_point = Some(geojson::Geometry::new(geojson::Value::Point(vec![ - f_longitude, - f_latitude, - ]))); + gj_point = Some(geojson::Geometry::new_point([f_longitude, f_latitude])); }; };