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 f1d95a0d chore(deps): bump serde_with from 1.14.0 to 3.18.0 (#712)
f1d95a0d is described below
commit f1d95a0d1c177d0e22ba9a882fc80ab47e166eeb
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Mon Apr 6 16:23:13 2026 -0500
chore(deps): bump serde_with from 1.14.0 to 3.18.0 (#712)
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 | 177 +++++++++++++++++++++--------------
Cargo.toml | 4 +-
rust/sedona-geometry/src/interval.rs | 6 +-
3 files changed, 113 insertions(+), 74 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 5241bf18..3bafcc4f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -429,7 +429,7 @@ dependencies = [
"arrow-schema",
"chrono",
"half",
- "indexmap",
+ "indexmap 2.13.0",
"itoa",
"lexical-core",
"memchr",
@@ -1084,7 +1084,7 @@ version = "3.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89ec27229c38ed0eb3c0feee3d2c1d6a4379ae44f418a29a658890e062d8f365"
dependencies = [
- "darling 0.23.0",
+ "darling",
"ident_case",
"prettyplease",
"proc-macro2",
@@ -1307,7 +1307,7 @@ dependencies = [
"anstream 1.0.0",
"anstyle",
"clap_lex",
- "strsim 0.11.1",
+ "strsim",
]
[[package]]
@@ -1591,38 +1591,14 @@ dependencies = [
"memchr",
]
-[[package]]
-name = "darling"
-version = "0.13.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c"
-dependencies = [
- "darling_core 0.13.4",
- "darling_macro 0.13.4",
-]
-
[[package]]
name = "darling"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d"
dependencies = [
- "darling_core 0.23.0",
- "darling_macro 0.23.0",
-]
-
-[[package]]
-name = "darling_core"
-version = "0.13.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610"
-dependencies = [
- "fnv",
- "ident_case",
- "proc-macro2",
- "quote",
- "strsim 0.10.0",
- "syn 1.0.109",
+ "darling_core",
+ "darling_macro",
]
[[package]]
@@ -1634,28 +1610,17 @@ dependencies = [
"ident_case",
"proc-macro2",
"quote",
- "strsim 0.11.1",
+ "strsim",
"syn 2.0.117",
]
-[[package]]
-name = "darling_macro"
-version = "0.13.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835"
-dependencies = [
- "darling_core 0.13.4",
- "quote",
- "syn 1.0.109",
-]
-
[[package]]
name = "darling_macro"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d"
dependencies = [
- "darling_core 0.23.0",
+ "darling_core",
"quote",
"syn 2.0.117",
]
@@ -1793,7 +1758,7 @@ dependencies = [
"chrono",
"half",
"hashbrown 0.14.5",
- "indexmap",
+ "indexmap 2.13.0",
"libc",
"log",
"object_store",
@@ -2011,7 +1976,7 @@ dependencies = [
"datafusion-functions-aggregate-common",
"datafusion-functions-window-common",
"datafusion-physical-expr-common",
- "indexmap",
+ "indexmap 2.13.0",
"itertools 0.14.0",
"paste",
"recursive",
@@ -2027,7 +1992,7 @@ checksum =
"5ce2fb1b8c15c9ac45b0863c30b268c69dc9ee7a1ee13ecf5d067738338173dc"
dependencies = [
"arrow",
"datafusion-common",
- "indexmap",
+ "indexmap 2.13.0",
"itertools 0.14.0",
"paste",
]
@@ -2209,7 +2174,7 @@ dependencies = [
"datafusion-expr",
"datafusion-expr-common",
"datafusion-physical-expr",
- "indexmap",
+ "indexmap 2.13.0",
"itertools 0.14.0",
"log",
"recursive",
@@ -2232,7 +2197,7 @@ dependencies = [
"datafusion-physical-expr-common",
"half",
"hashbrown 0.14.5",
- "indexmap",
+ "indexmap 2.13.0",
"itertools 0.14.0",
"parking_lot",
"paste",
@@ -2310,7 +2275,7 @@ dependencies = [
"futures",
"half",
"hashbrown 0.14.5",
- "indexmap",
+ "indexmap 2.13.0",
"itertools 0.14.0",
"log",
"parking_lot",
@@ -2398,7 +2363,7 @@ dependencies = [
"chrono",
"datafusion-common",
"datafusion-expr",
- "indexmap",
+ "indexmap 2.13.0",
"log",
"recursive",
"regex",
@@ -2412,6 +2377,7 @@ source =
"registry+https://github.com/rust-lang/crates.io-index"
checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587"
dependencies = [
"powerfmt",
+ "serde_core",
]
[[package]]
@@ -2472,6 +2438,12 @@ version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
+[[package]]
+name = "dyn-clone"
+version = "1.0.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
+
[[package]]
name = "earcutr"
version = "0.4.3"
@@ -3005,7 +2977,7 @@ dependencies = [
"futures-core",
"futures-sink",
"http 1.4.0",
- "indexmap",
+ "indexmap 2.13.0",
"slab",
"tokio",
"tokio-util",
@@ -3051,6 +3023,12 @@ dependencies = [
"byteorder",
]
+[[package]]
+name = "hashbrown"
+version = "0.12.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
+
[[package]]
name = "hashbrown"
version = "0.14.5"
@@ -3477,6 +3455,17 @@ dependencies = [
"icu_properties",
]
+[[package]]
+name = "indexmap"
+version = "1.9.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
+dependencies = [
+ "autocfg",
+ "hashbrown 0.12.3",
+ "serde",
+]
+
[[package]]
name = "indexmap"
version = "2.13.0"
@@ -4242,7 +4231,7 @@ checksum =
"8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455"
dependencies = [
"fixedbitset",
"hashbrown 0.15.5",
- "indexmap",
+ "indexmap 2.13.0",
"serde",
]
@@ -4723,6 +4712,26 @@ dependencies = [
"thiserror 2.0.17",
]
+[[package]]
+name = "ref-cast"
+version = "1.0.25"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d"
+dependencies = [
+ "ref-cast-impl",
+]
+
+[[package]]
+name = "ref-cast-impl"
+version = "1.0.25"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.117",
+]
+
[[package]]
name = "regex"
version = "1.12.2"
@@ -5106,6 +5115,30 @@ dependencies = [
"windows-sys 0.61.2",
]
+[[package]]
+name = "schemars"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f"
+dependencies = [
+ "dyn-clone",
+ "ref-cast",
+ "serde",
+ "serde_json",
+]
+
+[[package]]
+name = "schemars"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a2b42f36aa1cd011945615b92222f6bf73c599a102a300334cd7f8dbeec726cc"
+dependencies = [
+ "dyn-clone",
+ "ref-cast",
+ "serde",
+ "serde_json",
+]
+
[[package]]
name = "scopeguard"
version = "1.2.0"
@@ -5869,24 +5902,33 @@ dependencies = [
[[package]]
name = "serde_with"
-version = "1.14.0"
+version = "3.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff"
+checksum = "dd5414fad8e6907dbdd5bc441a50ae8d6e26151a03b1de04d89a5576de61d01f"
dependencies = [
- "serde",
+ "base64",
+ "chrono",
+ "hex",
+ "indexmap 1.9.3",
+ "indexmap 2.13.0",
+ "schemars 0.9.0",
+ "schemars 1.2.1",
+ "serde_core",
+ "serde_json",
"serde_with_macros",
+ "time",
]
[[package]]
name = "serde_with_macros"
-version = "1.5.2"
+version = "3.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082"
+checksum = "d3db8978e608f1fe7357e211969fd9abdcae80bac1ba7a3369bb7eb6b404eb65"
dependencies = [
- "darling 0.13.4",
+ "darling",
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn 2.0.117",
]
[[package]]
@@ -6024,12 +6066,6 @@ dependencies = [
"windows-sys 0.59.0",
]
-[[package]]
-name = "strsim"
-version = "0.10.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
-
[[package]]
name = "strsim"
version = "0.11.1"
@@ -6213,6 +6249,7 @@ source =
"registry+https://github.com/rust-lang/crates.io-index"
checksum = "743bd48c283afc0388f9b8827b976905fb217ad9e647fae3a379a9283c4def2c"
dependencies = [
"deranged",
+ "itoa",
"num-conv",
"powerfmt",
"serde_core",
@@ -6346,7 +6383,7 @@ version = "0.23.10+spec-1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "84c8b9f757e028cee9fa244aea147aab2a9ec09d5325a9b01e0a49730c2b5269"
dependencies = [
- "indexmap",
+ "indexmap 2.13.0",
"toml_datetime",
"toml_parser",
"winnow",
@@ -6696,7 +6733,7 @@ source =
"registry+https://github.com/rust-lang/crates.io-index"
checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909"
dependencies = [
"anyhow",
- "indexmap",
+ "indexmap 2.13.0",
"wasm-encoder",
"wasmparser",
]
@@ -6722,7 +6759,7 @@ checksum =
"47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe"
dependencies = [
"bitflags",
"hashbrown 0.15.5",
- "indexmap",
+ "indexmap 2.13.0",
"semver",
]
@@ -7112,7 +7149,7 @@ checksum =
"b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21"
dependencies = [
"anyhow",
"heck",
- "indexmap",
+ "indexmap 2.13.0",
"prettyplease",
"syn 2.0.117",
"wasm-metadata",
@@ -7143,7 +7180,7 @@ checksum =
"9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2"
dependencies = [
"anyhow",
"bitflags",
- "indexmap",
+ "indexmap 2.13.0",
"log",
"serde",
"serde_derive",
@@ -7162,7 +7199,7 @@ checksum =
"ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736"
dependencies = [
"anyhow",
"id-arena",
- "indexmap",
+ "indexmap 2.13.0",
"log",
"semver",
"serde",
diff --git a/Cargo.toml b/Cargo.toml
index 353c7a9e..9237305c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -118,10 +118,10 @@ pin-project-lite = "0.2"
rand = "0.10"
regex = "1.12"
rstest = "0.26.1"
-serde = { version = "1" }
+serde = { version = "1", features = ["derive"] }
sysinfo = "0.38"
serde_json = { version = "1" }
-serde_with = { version = "1" }
+serde_with = { version = "3" }
tempfile = { version = "3"}
thiserror = { version = "2" }
tokio = { version = "1.51", features = ["macros", "rt", "sync"] }
diff --git a/rust/sedona-geometry/src/interval.rs
b/rust/sedona-geometry/src/interval.rs
index d02608d7..b4355d5f 100644
--- a/rust/sedona-geometry/src/interval.rs
+++ b/rust/sedona-geometry/src/interval.rs
@@ -15,6 +15,7 @@
// specific language governing permissions and limitations
// under the License.
use serde::{Deserialize, Serialize};
+use serde_with::serde_as;
use crate::error::SedonaGeometryError;
@@ -126,20 +127,21 @@ pub trait IntervalTrait: std::fmt::Debug + PartialEq +
Sized {
///
/// Represents a minimum and maximum value without wraparound logic (see
[WraparoundInterval]
/// for a wraparound implementation).
+#[serde_as]
#[derive(Debug, Clone, Copy, PartialEq, Serialize, Deserialize)]
pub struct Interval {
/// Lower bound
///
/// This is serialized and deserialized using its string representation to
/// preserve NaN and Infinity values when using serde_json.
- #[serde(with = "serde_with::rust::display_fromstr")]
+ #[serde_as(as = "serde_with::DisplayFromStr")]
lo: f64,
/// Upper bound
///
/// This is serialized and deserialized using its string representation to
/// preserve NaN and Infinity values when using serde_json.
- #[serde(with = "serde_with::rust::display_fromstr")]
+ #[serde_as(as = "serde_with::DisplayFromStr")]
hi: f64,
}