summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2023-07-16 18:39:33 +0200
committerCanop <cano.petrole@gmail.com>2023-07-16 18:39:33 +0200
commitb34d0f48d25616735bd87ad06d60b6439d418f0c (patch)
tree9783b495c9d24608017a79730ed9ccba7692e18c
parent92584deaf25c634390a611c8eb9f80786bf43bc5 (diff)
making dysk-cli an independant crate
so that it can be imported in build.rs for building the man page and the shell completion scripts
-rw-r--r--Cargo.toml2
-rw-r--r--cli/Cargo.toml6
2 files changed, 2 insertions, 6 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 4afccb0..e1a6d9b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,7 +16,7 @@ exclude = ["website", "dysk*.zip"]
build = "build.rs"
[dependencies]
-dysk-cli = { path = "cli" }
+dysk-cli = { version = "2.7.0", path = "cli" }
[build-dependencies]
clap = { version = "4.3", features = ["derive", "cargo"] }
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index c1e7f12..9ba6d92 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -4,6 +4,7 @@ version = "2.7.0"
authors = ["dystroy <denys.seguret@gmail.com>"]
edition = "2021"
license = "MIT"
+description = "the dysk cli as a library"
rust-version = "1.59"
[dependencies]
@@ -20,8 +21,3 @@ termimad = "0.20.5"
[profile.release]
strip = true
-[patch.crates-io]
-# minimad = { path = "../minimad" }
-# termimad = { path = "../termimad" }
-# clap-help = { path = "../clap-help" }
-# lfs-core = { path = "../lfs-core" }