aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorTeddy Wing2020-08-01 15:32:17 +0200
committerTeddy Wing2020-08-01 15:32:17 +0200
commitfdc1cc7bc3d237ef4976f9f9d2ffc09b7ba164d5 (patch)
tree4dc68f07d4a2e7ad8193f2b5f9a90c9fe6792aec /Cargo.toml
parentb218abebdf8a0aed73bfe6f61ab22e51a0f2f43c (diff)
downloadgit-suggestion-fdc1cc7bc3d237ef4976f9f9d2ffc09b7ba164d5.tar.bz2
Move library to a separate crate
Keep the binaries in the root crate, and add a new crate for the `github-suggestion` library. I want to add some library code to the CLI programs to extract common functionality between the different binaries.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml16
1 files changed, 3 insertions, 13 deletions
diff --git a/Cargo.toml b/Cargo.toml
index a5ea35b..8135a3e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,22 +1,12 @@
[package]
-name = "github-suggestion"
+name = "github-suggestion-cli"
version = "0.0.1"
edition = "2018"
[dependencies]
-git2 = "0.13.8"
-github-rs = "0.7.0"
-regex = "1.3.9"
-serde = { version = "1.0.114", features = ["derive"] }
-serde_json = "1.0.56"
-tempfile = "3.1.0"
-thiserror = "1.0.20"
-url = "2.1.1"
-
-github-suggestion-cli = { path = "github-suggestion-cli" }
-
+github-suggestion = { path = "github-suggestion" }
[workspace]
members = [
- "github-suggestion-cli",
+ "github-suggestion",
]