diff options
author | Teddy Wing | 2020-08-30 04:51:51 +0200 |
---|---|---|
committer | Teddy Wing | 2020-08-30 04:51:51 +0200 |
commit | 4477ae635ec67d2b79ac670bbd73b88d4979e786 (patch) | |
tree | 7b3cea61bda3409d67d9132ded590d03de19ee16 | |
parent | 436c09d6484b657056db07f68b11da116bbd0307 (diff) | |
download | git-suggestion-4477ae635ec67d2b79ac670bbd73b88d4979e786.tar.bz2 |
git-suggestion-cli: Rename crate to `git-suggestion`
Now that I'm using the name "git-suggestion" in a few places, and from a
user perspective, it's more Git-oriented than GitHub-oriented, I think
the crate should be renamed to reflect that.
-rw-r--r-- | Cargo.lock | 26 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/bin/git-sugapply.rs | 4 | ||||
-rw-r--r-- | src/bin/git-sugdiff.rs | 6 |
5 files changed, 20 insertions, 20 deletions
@@ -244,6 +244,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724" [[package]] +name = "git-suggestion" +version = "0.1.0" +dependencies = [ + "exitcode", + "getopts", + "git2", + "github-suggestion", + "regex", + "thiserror", + "url", +] + +[[package]] name = "git2" version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -288,19 +301,6 @@ dependencies = [ ] [[package]] -name = "github-suggestion-cli" -version = "0.1.0" -dependencies = [ - "exitcode", - "getopts", - "git2", - "github-suggestion", - "regex", - "thiserror", - "url", -] - -[[package]] name = "h2" version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1,5 +1,5 @@ [package] -name = "github-suggestion-cli" +name = "git-suggestion" version = "0.1.0" edition = "2018" @@ -72,7 +72,7 @@ To compile from source or install on other platforms: ## Uninstall - $ cargo uninstall github-suggestion-cli + $ cargo uninstall git-suggestion ## License diff --git a/src/bin/git-sugapply.rs b/src/bin/git-sugapply.rs index ebea4ab..4400ef2 100644 --- a/src/bin/git-sugapply.rs +++ b/src/bin/git-sugapply.rs @@ -19,8 +19,8 @@ use std::process; use exitcode; -use github_suggestion_cli::{gseprintln, for_suggestion}; -use github_suggestion_cli::config::Config; +use git_suggestion::{gseprintln, for_suggestion}; +use git_suggestion::config::Config; fn main() { diff --git a/src/bin/git-sugdiff.rs b/src/bin/git-sugdiff.rs index 62bec8f..2af9d0b 100644 --- a/src/bin/git-sugdiff.rs +++ b/src/bin/git-sugdiff.rs @@ -20,9 +20,9 @@ use std::process::Command; use exitcode; -use github_suggestion_cli::{gseprintln, for_suggestion}; -use github_suggestion_cli::config::Config; -use github_suggestion_cli::diff_options; +use git_suggestion::{gseprintln, for_suggestion}; +use git_suggestion::config::Config; +use git_suggestion::diff_options; fn main() { |