This is an automated email from the ASF dual-hosted git repository.

paleolimbot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-db.git


The following commit(s) were added to refs/heads/main by this push:
     new 9187f8b8 chore(deps): bump geojson from 0.24.2 to 1.0.0 (#732)
9187f8b8 is described below

commit 9187f8b8c4ca52b64837fab5fddd377703f7331b
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Tue Apr 14 16:09:49 2026 -0500

    chore(deps): bump geojson from 0.24.2 to 1.0.0 (#732)
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] 
<49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Dewey Dunnington <[email protected]>
---
 Cargo.lock                          | 6 ++++--
 Cargo.toml                          | 2 +-
 rust/sedona-geo/src/st_asgeojson.rs | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index dbd3f255..fa803af4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2878,15 +2878,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.17",
+ "tinyvec",
 ]
 
 [[package]]
@@ -6337,6 +6338,7 @@ version = "1.10.0"
 source = "registry+https://github.com/rust-lang/crates.io-index";
 checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa"
 dependencies = [
+ "serde",
  "tinyvec_macros",
 ]
 
diff --git a/Cargo.toml b/Cargo.toml
index 478d2ae8..c1436139 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -102,7 +102,7 @@ geo = "0.31.0"
 geo-index = { version = "0.3.4", features = ["use-geo_0_31"] }
 geo-traits = "0.3.0"
 geo-types = "0.7.17"
-geojson = "0.24.2"
+geojson = "1.0.0"
 geos = { version = "11.1.1", features = ["geo", "v3_12_0"] }
 glam = "0.32.0"
 libmimalloc-sys = { version = "0.1", default-features = false }
diff --git a/rust/sedona-geo/src/st_asgeojson.rs 
b/rust/sedona-geo/src/st_asgeojson.rs
index 7475bc7a..416435c9 100644
--- a/rust/sedona-geo/src/st_asgeojson.rs
+++ b/rust/sedona-geo/src/st_asgeojson.rs
@@ -102,7 +102,7 @@ fn geom_to_geojson(geom: &Wkb) -> Result<String> {
     // For all other geometries (including other empty geometries), convert to 
geo_types::Geometry
     let geo_geom = item_to_geometry(geom)?;
 
-    let geojson_value = geojson::Value::from(&geo_geom);
+    let geojson_value = geojson::GeometryValue::from(&geo_geom);
     let geojson_geom = geojson::Geometry::new(geojson_value);
 
     serde_json::to_string(&geojson_geom).map_err(|err| 
DataFusionError::External(Box::new(err)))

Reply via email to