diff options
author | Teddy Wing | 2020-07-19 23:08:45 +0200 |
---|---|---|
committer | Teddy Wing | 2020-07-19 23:08:45 +0200 |
commit | d65b1ab87e4d3dbd7bf7ade653dd64dc5b715368 (patch) | |
tree | 6debc9869ba2b3aa9808904f5f27fd25ebda6f1c /Cargo.lock | |
parent | f87ad1230864c271a4e60ad3b6ff3abea950568d (diff) | |
download | git-suggestion-d65b1ab87e4d3dbd7bf7ade653dd64dc5b715368.tar.bz2 |
Extract diff hunk and comment body from GitHub response
Split the `Suggestion` struct into a new `Client` struct for the GitHub
request, and `Suggestion` for the required response data.
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -210,6 +210,7 @@ name = "git-suggested-patch" version = "0.0.1" dependencies = [ "github-rs", + "serde", "serde_json", "thiserror", ] @@ -640,6 +641,20 @@ name = "serde" version = "1.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5317f7588f0a5078ee60ef675ef96735a1442132dc645eb1d12c018620ed8cd3" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.114" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a0be94b04690fbaed37cddffc5c134bf537c8e3329d53e982fe04c374978f8e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] [[package]] name = "serde_json" |