From d694f3ffb1fe64caf955711c92993c0e87a230bf Mon Sep 17 00:00:00 2001 From: Stan Bondi Date: Thu, 12 Dec 2024 08:33:06 +0400 Subject: [PATCH] minor cargo changes --- Cargo.lock | 46 +++++++++++++++++++++---------------------- Cargo.toml | 2 ++ crates/cli/Cargo.toml | 6 +++--- 3 files changed, 28 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 077bb5c..c171baa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -785,29 +785,6 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "afb84c814227b90d6895e01398aee0d8033c00e7466aca416fb6a8e0eb19d8a7" -[[package]] -name = "cli" -version = "0.1.0" -dependencies = [ - "anyhow", - "cargo-generate", - "cargo_toml", - "clap 4.5.21", - "convert_case", - "dialoguer", - "dirs-next 2.0.0", - "git2", - "serde", - "spinners", - "tari_core", - "tari_deploy", - "termimad", - "thiserror 2.0.3", - "tokio", - "toml 0.8.19", - "url", -] - [[package]] name = "colorchoice" version = "1.0.3" @@ -5454,6 +5431,29 @@ version = "0.12.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" +[[package]] +name = "tari-cli" +version = "0.1.0" +dependencies = [ + "anyhow", + "cargo-generate", + "cargo_toml", + "clap 4.5.21", + "convert_case", + "dialoguer", + "dirs-next 2.0.0", + "git2", + "serde", + "spinners", + "tari_core", + "tari_deploy", + "termimad", + "thiserror 2.0.3", + "tokio", + "toml 0.8.19", + "url", +] + [[package]] name = "tari-tiny-keccak" version = "2.0.2" diff --git a/Cargo.toml b/Cargo.toml index 6da0072..632752a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,8 @@ repository = "https://github.com/tari-project/tari-cli" license = "BSD-3-Clause" [workspace.dependencies] +tari_deploy = { path = "crates/tari_deploy", version = "0.1.0" } + tokio = { version = "1.41.1", features = ["full"] } serde = { version = "1.0.215", features = ["derive"] } thiserror = "2.0.3" diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 7ff3fe6..4330c55 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "cli" +name = "tari-cli" version.workspace = true edition.workspace = true authors.workspace = true @@ -11,7 +11,7 @@ name = "tari" path = "src/main.rs" [dependencies] -tari_deploy = { path = "../tari_deploy" } +tari_deploy = { workspace = true } tari_core = { workspace = true } anyhow = "1.0.93" clap = { version = "4.5.20", features = ["derive", "string"] } @@ -27,4 +27,4 @@ spinners = "4.1.1" convert_case = "0.6.0" dialoguer = { version = "0.11.0", features = ["default", "fuzzy-select"] } cargo_toml = "0.20.5" -url = { workspace = true } \ No newline at end of file +url = { workspace = true }