From e20e67f0e80768e38d84a84d8a16f422093820ea Mon Sep 17 00:00:00 2001 From: Andrew Mackenzie Date: Thu, 12 Dec 2024 11:27:39 +0100 Subject: [PATCH] Remove unused dependencies --- Cargo.lock | 35 ++--------------------------------- Cargo.toml | 2 -- 2 files changed, 2 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c31eda89..2d532c45 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2155,15 +2155,6 @@ dependencies = [ "byteorder", ] -[[package]] -name = "hash32" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47d60b12902ba28e2730cd37e95b8c9223af2808df9e902d4df49588d1470606" -dependencies = [ - "byteorder", -] - [[package]] name = "hashbrown" version = "0.14.5" @@ -2202,24 +2193,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cdc6457c0eb62c71aac4bc17216026d8410337c4126773b9c5daba343f17964f" dependencies = [ "atomic-polyfill", - "hash32 0.2.1", + "hash32", "rustc_version", "serde", "spin", "stable_deref_trait", ] -[[package]] -name = "heapless" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bfb9eb618601c89945a70e254898da93b13be0388091d42117462b265bb3fad" -dependencies = [ - "hash32 0.3.1", - "serde", - "stable_deref_trait", -] - [[package]] name = "heck" version = "0.5.0" @@ -4476,7 +4456,6 @@ dependencies = [ "chrono", "clap", "futures", - "heapless 0.8.0", "iced", "iced_aw", "iced_futures", @@ -4495,7 +4474,6 @@ dependencies = [ "rfd", "rppal", "serde", - "serde_arrays", "serde_json", "serial_test", "service-manager", @@ -4786,7 +4764,7 @@ dependencies = [ "cobs", "embedded-io 0.4.0", "embedded-io 0.6.1", - "heapless 0.7.17", + "heapless", "postcard-derive", "serde", ] @@ -5657,15 +5635,6 @@ dependencies = [ "serde_derive", ] -[[package]] -name = "serde_arrays" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38636132857f68ec3d5f3eb121166d2af33cb55174c4d5ff645db6165cbef0fd" -dependencies = [ - "serde", -] - [[package]] name = "serde_derive" version = "1.0.216" diff --git a/Cargo.toml b/Cargo.toml index 23c50545..ae129a41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,13 +49,11 @@ nusb = { version = "0.1.12", default-features = false, optional = true } # use in piggui and piglet chrono = { version = "0.4", default-features = false, features = ["now", "serde"] } serde = { version = "1.0.216", default-features = false, features = ["derive"] } -serde_arrays = { version = "0.1.0", default-features = false } # for config serialization to/from file serde_json = { version = "1.0.133", default-features = false, features = ["std"] } # for alloc/no_alloc over the wire serialization/deserialization postcard = { version = "1.1.1", features = ["alloc"] } -heapless = { version = "0.8.0", default-features = false, features = ["serde"] } rand = { version = "0.8.5", default-features = false, features = ["std", "std_rng"] } tracing-subscriber = { version = "0.3.19", default-features = false, features = ["fmt", "env-filter"] }