diff options
author | Teddy Wing | 2020-07-19 18:42:57 +0200 |
---|---|---|
committer | Teddy Wing | 2020-07-19 18:42:57 +0200 |
commit | f87ad1230864c271a4e60ad3b6ff3abea950568d (patch) | |
tree | f97fdb1090a73084268791ee4f608dcc0ff7193c /Cargo.toml | |
parent | 9d78dbdb0be1e79a1e583bbfa991dac49aefa017 (diff) | |
download | git-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.toml | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |