From fdc1cc7bc3d237ef4976f9f9d2ffc09b7ba164d5 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 1 Aug 2020 15:32:17 +0200 Subject: 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. --- Cargo.toml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'Cargo.toml') 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", ] -- cgit v1.2.3