aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorTeddy Wing2020-07-24 00:41:19 +0200
committerTeddy Wing2020-07-24 00:42:53 +0200
commit4d89f0c16c61175042c47b493cb945618db8f72b (patch)
treec2cd94703719000037e56ff9cf5498ee3ed3f305 /Cargo.toml
parent55894d54c19d8eed751ef31b66698c0a85997cee (diff)
downloadgit-suggestion-4d89f0c16c61175042c47b493cb945618db8f72b.tar.bz2
Read a blob from a repository
Work out the code required to get a file blob's contents from a Git repository using the 'git2' crate. We'll be using this to get the original file for patching.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index eef7b03..8fb2e65 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,6 +4,7 @@ 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"] }