cargo-binstall/crates/binstalk-downloader
Jiahao XU 22b3419fce
feat: Add GraphQL support to GhApiClient (#1124)
Fixed #868

 - Add new fn `remote::Client::post`
 - Add new fn `remote::RequestBuilder::body`
 - Re-export `reqwest::Body` in `remote`
 - Add dep percent-encoding v2.2.0 to binstalk-downloader
 - Add dep serde-tuple-vec-map v1.0.1 to binstalk-downloader
 - Add GraphQL to `GhApiClient`, fallback to Restful API if token is not
   provided or authorization failed.
 - Fixed `GhReleaseArtifact::try_extract_artifact_from_str`: decode
   percent encoded http url path and add regression tests
 - Added variant `GhApiError::Context` & `GhApiContextError`
 - Added variant `GhApiError::GraphQLErrors` & `GhGraphQLErrors`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-06-04 14:09:49 +00:00
..
src feat: Add GraphQL support to GhApiClient (#1124) 2023-06-04 14:09:49 +00:00
Cargo.toml feat: Add GraphQL support to GhApiClient (#1124) 2023-06-04 14:09:49 +00:00
LICENSE-APACHE Switch binstalk-downloader license to "Apache-2.0 OR MIT" (#542) 2023-05-19 03:07:58 +00:00
LICENSE-MIT Switch binstalk-downloader license to "Apache-2.0 OR MIT" (#542) 2023-05-19 03:07:58 +00:00