aboutsummaryrefslogtreecommitdiffstats
path: root/github-suggestion/Cargo.toml
diff options
context:
space:
mode:
authorTeddy Wing2020-08-22 00:05:11 +0200
committerTeddy Wing2020-08-22 00:05:11 +0200
commit8486be143b44a2d929430d41405124dcd1bfccb9 (patch)
tree2e1a96431baf8bfdd17319601117fc5018dd48f2 /github-suggestion/Cargo.toml
parented25d1ae52b137ff445649aeb8cdac4d892ce313 (diff)
downloadgit-suggestion-diff-colours.tar.bz2
Idea for adding diff coloursdiff-colours
Ideas for getting diff colours from the Git config and parsing them using 'colorparse'. Leaving this aside and planning to add diff colours by executing `git-diff` instead. Shelling out to `git diff` would allow us to accept diff command line options like `--word-diff` and have them work transparently.
Diffstat (limited to 'github-suggestion/Cargo.toml')
-rw-r--r--github-suggestion/Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/github-suggestion/Cargo.toml b/github-suggestion/Cargo.toml
index 34e197c..0ef1959 100644
--- a/github-suggestion/Cargo.toml
+++ b/github-suggestion/Cargo.toml
@@ -4,6 +4,8 @@ version = "0.1.0"
edition = "2018"
[dependencies]
+ansi_term = "0.12.1"
+colorparse = "2.0.1"
git2 = "0.13.8"
github-rs = "0.7.0"
regex = "1.3.9"