Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 0.16.0 - 2023-06-29

* Re-export the `minreq` crate when the feature is set
[#102](https://github.com/apoelstra/rust-jsonrpc/pull/102)
* Don't treat HTTP errors with no JSON as JSON parsing errors
[#103](https://github.com/apoelstra/rust-jsonrpc/pull/103)

# 0.15.0 - 2023-05-28

* Add new transport that uses `minreq`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "jsonrpc"
version = "0.15.0"
version = "0.16.0"
authors = ["Andrew Poelstra <[email protected]>"]
license = "CC0-1.0"
homepage = "https://github.com/apoelstra/rust-jsonrpc/"
Expand Down
1 change: 1 addition & 0 deletions src/http/minreq_http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ impl error::Error for HttpError {}
/// Error that can happen when sending requests. In case of error, a JSON error is returned if the
/// body of the response could be parsed as such. Otherwise, an HTTP error is returned containing
/// the status code and the raw body.
#[non_exhaustive]
#[derive(Debug)]
pub enum Error {
/// JSON parsing error.
Expand Down
1 change: 1 addition & 0 deletions src/http/simple_http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ mod impls {
#[cfg(test)]
mod tests {
use std::net;
#[cfg(feature = "proxy")]
use std::str::FromStr;

use super::*;
Expand Down