aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-08-01 15:47:32 +0200
committerTeddy Wing2020-08-01 15:47:32 +0200
commit3f6225a5287ee10175c3f9a4f8443585368ac07a (patch)
tree5c3a9f41882608217b0c67c51cdcd16de91b8f5b
parentfdc1cc7bc3d237ef4976f9f9d2ffc09b7ba164d5 (diff)
downloadgit-suggestion-3f6225a5287ee10175c3f9a4f8443585368ac07a.tar.bz2
Move `github-suggestion-cli` to the root crate
This will be used by the binaries.
-rw-r--r--Cargo.lock3
-rw-r--r--Cargo.toml4
-rw-r--r--github-suggestion-cli/Cargo.toml9
-rw-r--r--src/lib.rs (renamed from github-suggestion-cli/src/lib.rs)0
4 files changed, 7 insertions, 9 deletions
diff --git a/Cargo.lock b/Cargo.lock
index bdbc2a7..43534f6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -276,7 +276,10 @@ dependencies = [
name = "github-suggestion-cli"
version = "0.0.1"
dependencies = [
+ "git2",
"github-suggestion",
+ "thiserror",
+ "url",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index 8135a3e..355fd52 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,6 +4,10 @@ version = "0.0.1"
edition = "2018"
[dependencies]
+git2 = "0.13.8"
+thiserror = "1.0.20"
+url = "2.1.1"
+
github-suggestion = { path = "github-suggestion" }
[workspace]
diff --git a/github-suggestion-cli/Cargo.toml b/github-suggestion-cli/Cargo.toml
deleted file mode 100644
index 0d07b7b..0000000
--- a/github-suggestion-cli/Cargo.toml
+++ /dev/null
@@ -1,9 +0,0 @@
-[package]
-name = "github-suggestion-cli"
-version = "0.0.1"
-edition = "2018"
-
-[dependencies]
-git2 = "0.13.8"
-thiserror = "1.0.20"
-url = "2.1.1"
diff --git a/github-suggestion-cli/src/lib.rs b/src/lib.rs
index c0d97a2..c0d97a2 100644
--- a/github-suggestion-cli/src/lib.rs
+++ b/src/lib.rs