From 3ab51f695b40109b969d2668ebb59c8bd900d5ce Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Fri, 24 Apr 2026 12:25:04 -0500 Subject: [PATCH] chore(rust): trim unused crate features - chrono: drop "serde" (no DateTime serde serialization in code) - uuid: drop "serde" (no Uuid serde serialization in code) - sqlx: drop "macros" (no compile-time sqlx::query! macros in use) --- rust/prop_grid_rs/Cargo.lock | 2 -- rust/prop_grid_rs/Cargo.toml | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/rust/prop_grid_rs/Cargo.lock b/rust/prop_grid_rs/Cargo.lock index 92b1f060..fbcd6c39 100644 --- a/rust/prop_grid_rs/Cargo.lock +++ b/rust/prop_grid_rs/Cargo.lock @@ -214,7 +214,6 @@ dependencies = [ "iana-time-zone", "js-sys", "num-traits", - "serde", "wasm-bindgen", "windows-link", ] @@ -2665,7 +2664,6 @@ checksum = "ddd74a9687298c6858e9b88ec8935ec45d22e8fd5e6394fa1bd4e99a87789c76" dependencies = [ "getrandom 0.4.2", "js-sys", - "serde_core", "wasm-bindgen", ] diff --git a/rust/prop_grid_rs/Cargo.toml b/rust/prop_grid_rs/Cargo.toml index 8be490e6..54f2cb70 100644 --- a/rust/prop_grid_rs/Cargo.toml +++ b/rust/prop_grid_rs/Cargo.toml @@ -18,13 +18,13 @@ path = "src/bin/hrrr_point_worker.rs" [dependencies] tokio = { version = "1", features = ["full"] } -sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "macros", "json"] } +sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "uuid", "chrono", "json"] } reqwest = { version = "0.13", features = ["rustls", "stream"], default-features = false } thiserror = "2" tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] } -chrono = { version = "0.4", features = ["serde"] } -uuid = { version = "1", features = ["v4", "serde"] } +chrono = "0.4" +uuid = { version = "1", features = ["v4"] } serde = { version = "1", features = ["derive"] } serde_json = "1" rayon = "1.12"