From ea10e63ba422805aad21ed3ee93b7697f695df82 Mon Sep 17 00:00:00 2001 From: hunjixin <1084400399@qq.com> Date: Mon, 5 Aug 2024 05:27:18 +0000 Subject: [PATCH] chore: move clap to workespace dependencies --- Cargo.toml | 2 ++ crates/compute_unit_runner/Cargo.toml | 2 +- crates/dp_runner/Cargo.toml | 2 +- nodes/copy_in_place/Cargo.toml | 2 +- nodes/dummy_in/Cargo.toml | 2 +- nodes/dummy_out/Cargo.toml | 3 ++- nodes/jz_reader/Cargo.toml | 2 +- nodes/jz_writer/Cargo.toml | 3 ++- 8 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ade731e..35b5bdb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,6 +33,7 @@ mongodb = {version="3.0.1"} chrono = "0.4" async-trait = "0.1.81" futures = "0.3.30" +clap = {version="4.5.7", features=["derive"]} [package] name = "jz_action" @@ -52,6 +53,7 @@ tokio = { workspace = true, features = ["macros", "rt-multi-thread", "fs"] } tokio-retry = {workspace = true} tokio-stream = {workspace = true} +clap = {workspace = true} uuid = {workspace = true} anyhow = {workspace = true} tracing = {workspace = true} diff --git a/crates/compute_unit_runner/Cargo.toml b/crates/compute_unit_runner/Cargo.toml index ba1dde4..57cc03e 100644 --- a/crates/compute_unit_runner/Cargo.toml +++ b/crates/compute_unit_runner/Cargo.toml @@ -21,8 +21,8 @@ uuid = {workspace = true} mongodb = {workspace = true} async-trait = {workspace = true} chrono = {workspace = true} +clap = {workspace = true} -clap = {version="4.5.7", features=["derive"]} actix-web = "4.8.0" hyperlocal = "0.9.1" hyper = "1.4.1" diff --git a/crates/dp_runner/Cargo.toml b/crates/dp_runner/Cargo.toml index 622ca21..92484ed 100644 --- a/crates/dp_runner/Cargo.toml +++ b/crates/dp_runner/Cargo.toml @@ -18,7 +18,7 @@ tonic = {workspace = true} uuid = {workspace = true} async-trait = {workspace = true} chrono = {workspace = true} +clap = {workspace = true} -clap = {version="4.5.7", features=["derive"]} rand = "0.8.5" walkdir = "2.5.0" \ No newline at end of file diff --git a/nodes/copy_in_place/Cargo.toml b/nodes/copy_in_place/Cargo.toml index 7c97fe9..9dcb339 100644 --- a/nodes/copy_in_place/Cargo.toml +++ b/nodes/copy_in_place/Cargo.toml @@ -18,6 +18,6 @@ anyhow = {workspace = true} tracing = {workspace = true} tracing-subscriber = {workspace = true} tokio-util = {workspace = true} +clap = {workspace = true} -clap = {version="4.5.7", features=["derive"]} random_word = { version = "0.4.3", features = ["en"] } \ No newline at end of file diff --git a/nodes/dummy_in/Cargo.toml b/nodes/dummy_in/Cargo.toml index 79a9e0e..089fe98 100644 --- a/nodes/dummy_in/Cargo.toml +++ b/nodes/dummy_in/Cargo.toml @@ -18,6 +18,6 @@ anyhow = {workspace = true} tracing = {workspace = true} tracing-subscriber = {workspace = true} tokio-util = {workspace = true} +clap = {workspace = true} -clap = {version="4.5.7", features=["derive"]} random_word = { version = "0.4.3", features = ["en"] } \ No newline at end of file diff --git a/nodes/dummy_out/Cargo.toml b/nodes/dummy_out/Cargo.toml index 2eeac2d..11aab28 100644 --- a/nodes/dummy_out/Cargo.toml +++ b/nodes/dummy_out/Cargo.toml @@ -18,5 +18,6 @@ tokio-util = {workspace = true} anyhow = {workspace = true} tracing = {workspace = true} tracing-subscriber = {workspace = true} -clap = {version="4.5.7", features=["derive"]} +clap = {workspace = true} + walkdir = "2.5.0" \ No newline at end of file diff --git a/nodes/jz_reader/Cargo.toml b/nodes/jz_reader/Cargo.toml index 9f95441..a616105 100644 --- a/nodes/jz_reader/Cargo.toml +++ b/nodes/jz_reader/Cargo.toml @@ -16,4 +16,4 @@ tokio-util = {workspace = true} anyhow = {workspace = true} tracing = {workspace = true} tracing-subscriber = {workspace = true} -clap = {version="4.5.7", features=["derive"]} \ No newline at end of file +clap = {workspace = true} \ No newline at end of file diff --git a/nodes/jz_writer/Cargo.toml b/nodes/jz_writer/Cargo.toml index ea95ec7..a9e6ee3 100644 --- a/nodes/jz_writer/Cargo.toml +++ b/nodes/jz_writer/Cargo.toml @@ -19,5 +19,6 @@ tokio-util = {workspace = true} anyhow = {workspace = true} tracing = {workspace = true} tracing-subscriber = {workspace = true} -clap = {version="4.5.7", features=["derive"]} +clap = {workspace = true} + walkdir = "2.5.0" \ No newline at end of file