diff options
author | Teddy Wing | 2020-07-29 01:50:25 +0200 |
---|---|---|
committer | Teddy Wing | 2020-07-29 01:52:11 +0200 |
commit | f29d7a2b1831fbf6e7091a5ea070e150d7063c48 (patch) | |
tree | 2b9f82ce3048b3c35c7ee5f6e360d062eec0cc92 | |
parent | fed821ebd28b8a5e9087ddb3ec0ad920523b8c98 (diff) | |
download | git-suggestion-f29d7a2b1831fbf6e7091a5ea070e150d7063c48.tar.bz2 |
Rename crate to 'github-suggestion'
Didn't like the old name. Wanted to make the GitHub reference more
explicit. I remember it as "suggestion", since that's the name of the
GitHub feature, so "suggested" was confusing. The final "patch" seemed
redundant or unnecessary.
-rw-r--r-- | Cargo.lock | 30 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | src/bin/git-sugapply.rs | 2 | ||||
-rw-r--r-- | src/bin/git-sugpatch.rs | 2 |
4 files changed, 18 insertions, 18 deletions
@@ -238,21 +238,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aaf91faf136cb47367fa430cd46e37a788775e7fa104f8b4bcb3861dc389b724" [[package]] -name = "git-suggested-patch" -version = "0.0.1" -dependencies = [ - "git2", - "github-rs", - "regex", - "serde", - "serde_json", - "tempfile", - "thiserror", - "unidiff", - "url", -] - -[[package]] name = "git2" version = "0.13.8" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -283,6 +268,21 @@ dependencies = [ ] [[package]] +name = "github-suggestion" +version = "0.0.1" +dependencies = [ + "git2", + "github-rs", + "regex", + "serde", + "serde_json", + "tempfile", + "thiserror", + "unidiff", + "url", +] + +[[package]] name = "h2" version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1,5 +1,5 @@ [package] -name = "git-suggested-patch" +name = "github-suggestion" version = "0.0.1" edition = "2018" diff --git a/src/bin/git-sugapply.rs b/src/bin/git-sugapply.rs index 47d26f2..157405d 100644 --- a/src/bin/git-sugapply.rs +++ b/src/bin/git-sugapply.rs @@ -1,7 +1,7 @@ use std::env; use std::process; -use git_suggested_patch::{Client, SuggestionUrl}; +use github_suggestion::{Client, SuggestionUrl}; fn main() { diff --git a/src/bin/git-sugpatch.rs b/src/bin/git-sugpatch.rs index 4b0a24b..0ad8874 100644 --- a/src/bin/git-sugpatch.rs +++ b/src/bin/git-sugpatch.rs @@ -1,7 +1,7 @@ use std::env; use std::process; -use git_suggested_patch::{Client, SuggestionUrl}; +use github_suggestion::{Client, SuggestionUrl}; fn main() { |