aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorTeddy Wing2020-07-19 18:42:57 +0200
committerTeddy Wing2020-07-19 18:42:57 +0200
commitf87ad1230864c271a4e60ad3b6ff3abea950568d (patch)
treef97fdb1090a73084268791ee4f608dcc0ff7193c /Cargo.toml
parent9d78dbdb0be1e79a1e583bbfa991dac49aefa017 (diff)
downloadgit-suggestion-f87ad1230864c271a4e60ad3b6ff3abea950568d.tar.bz2
Fetch a GitHub PR suggestion comment
Add a `Suggestion` struct to represent a GitHub PR suggestion comment. Use the 'github-rs' library to fetch a given comment from the site by its ID. Converted the 'github-rs' error into a string because its `github_rs::client::Error` type is private, so I can't define an error variant source with that type.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 255cf46..2c40820 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,3 +4,6 @@ version = "0.0.1"
edition = "2018"
[dependencies]
+github-rs = "0.7.0"
+serde_json = "1.0.56"
+thiserror = "1.0.20"