diff options
author | Teddy Wing | 2020-08-01 15:32:17 +0200 |
---|---|---|
committer | Teddy Wing | 2020-08-01 15:32:17 +0200 |
commit | fdc1cc7bc3d237ef4976f9f9d2ffc09b7ba164d5 (patch) | |
tree | 4dc68f07d4a2e7ad8193f2b5f9a90c9fe6792aec /Cargo.toml | |
parent | b218abebdf8a0aed73bfe6f61ab22e51a0f2f43c (diff) | |
download | git-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.toml | 16 |
1 files changed, 3 insertions, 13 deletions
@@ -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", ] |