From 5507f45e4a2c40ab90fa1e2f6a35c4ad74453942 Mon Sep 17 00:00:00 2001 From: mxsm Date: Thu, 28 Nov 2024 04:51:38 +0000 Subject: [PATCH] =?UTF-8?q?[ISSUE=20#1396]=F0=9F=94=A5Remove=20unused=20cr?= =?UTF-8?q?ate=20in=20rocketmq-store?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 14 -------------- rocketmq-store/Cargo.toml | 20 ++------------------ 2 files changed, 2 insertions(+), 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fe56e388..7d15d881 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2089,37 +2089,23 @@ dependencies = [ name = "rocketmq-store" version = "0.4.0" dependencies = [ - "anyhow", "bytes", "cheetah-string", "criterion", "dirs", - "futures", - "futures-core", - "futures-io", - "futures-sink", - "futures-util", "lazy_static", "log", "memmap2", - "mockall", - "num_cpus", "once_cell", "parking_lot", - "rand", "rocketmq-common", - "rocketmq-runtime", "rocketmq-rust", "serde", "serde_json", "sysinfo", "tempfile", - "thiserror", "tokio", - "tokio-stream", - "tokio-util", "tracing", - "tracing-subscriber", "trait-variant", ] diff --git a/rocketmq-store/Cargo.toml b/rocketmq-store/Cargo.toml index ffea8de0..2e19355f 100644 --- a/rocketmq-store/Cargo.toml +++ b/rocketmq-store/Cargo.toml @@ -19,53 +19,37 @@ data_store = ["local_file_store"] [dependencies] rocketmq-common = { workspace = true } -rocketmq-runtime = { workspace = true } rocketmq-rust = { workspace = true } #tools dirs.workspace = true parking_lot.workspace = true - -anyhow.workspace = true bytes.workspace = true -thiserror.workspace = true #tokio tokio.workspace = true -tokio-util.workspace = true -tokio-stream.workspace = true + #log tracing.workspace = true -tracing-subscriber.workspace = true #json spupport serde.workspace = true serde_json.workspace = true -rand.workspace = true lazy_static.workspace = true -#futures -futures = "0.3" -futures-util = "0.3" -futures-core = "0.3" -futures-sink = "0.3" -futures-io = "0.3" - -num_cpus.workspace = true tempfile = "3.14.0" log = "0.4.22" memmap2 = "0.9.5" trait-variant.workspace = true -sysinfo = "0.32.1" +sysinfo = "0.32.0" once_cell = { workspace = true } cheetah-string = { workspace = true } [dev-dependencies] tempfile = "3.14.0" -mockall = { workspace = true } criterion = { version = "0.5", features = ["html_reports"] } [[bench]]