From fa24ce17657c4d6430c71bd0ca162e4d11fa5fc6 Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Mon, 25 Nov 2024 09:59:13 -0500 Subject: [PATCH] Remove unused deps Signed-off-by: Alex Snaps --- Cargo.lock | 28 ---------------------------- limitador/Cargo.toml | 4 ---- 2 files changed, 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 52ff4e1c..73f343ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1154,10 +1154,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", - "js-sys", "libc", "wasi", - "wasm-bindgen", ] [[package]] @@ -1830,8 +1828,6 @@ dependencies = [ "cfg-if", "criterion", "dashmap", - "futures", - "getrandom", "h2 0.4.6", "metrics 0.24.0", "moka", @@ -1843,14 +1839,12 @@ dependencies = [ "rand", "redis", "redis-test", - "rmp-serde", "rocksdb", "serde", "serde_json", "serial_test", "tempfile", "thiserror 2.0.3", - "time", "tokio", "tokio-stream", "tonic 0.12.3", @@ -2921,28 +2915,6 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" -[[package]] -name = "rmp" -version = "0.8.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "228ed7c16fa39782c3b3468e974aec2795e9089153cd08ee2e9aefb3613334c4" -dependencies = [ - "byteorder", - "num-traits", - "paste", -] - -[[package]] -name = "rmp-serde" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52e599a477cf9840e92f2cde9a7189e67b42c57532749bf90aea6ec10facd4db" -dependencies = [ - "byteorder", - "rmp", - "serde", -] - [[package]] name = "rocksdb" version = "0.22.0" diff --git a/limitador/Cargo.toml b/limitador/Cargo.toml index bbccbda7..7dc687aa 100644 --- a/limitador/Cargo.toml +++ b/limitador/Cargo.toml @@ -22,13 +22,10 @@ lenient_conditions = [] [dependencies] moka = { version = "0.12", features = ["sync"] } dashmap = "6.1" -getrandom = { version = "0.2", features = ["js"] } serde = { version = "1", features = ["derive", "rc"] } postcard = { version = "1.0.4", features = ["use-std"] } serde_json = "1" -rmp-serde = "1.1.0" thiserror = "2" -futures = "0.3" async-trait = "0.1" cfg-if = "1" tracing = "0.1.40" @@ -58,7 +55,6 @@ tonic = { version = "0.12.3", optional = true } tonic-reflection = { version = "0.12.3", optional = true } prost = { version = "0.13.3", optional = true } prost-types = { version = "0.13.3", optional = true } -time = "0.3.36" [dev-dependencies] serial_test = "3.0"