diff --git a/CHANGELOG.md b/CHANGELOG.md index 96550904..810f2641 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,27 @@ # Changelog +## 0.1.5 - 2018-08-03 + +- Add wire tracing logs for inspecting raw headers being sent and received. +- Fixed issue where messages from libcurl were being discarded before we could read them. This would cause the client to get stuck in an infinite loop whenever a request would reach a timeout. (#3) + ## 0.1.4 - 2018-02-24 + - Moved the ring buffer out of the codebase into the `ringtail` crate. ## 0.1.3 - 2018-02-01 + - Fixed safety and soundness issues in the ring buffer. (#1, #2) ## 0.1.2 - 2017-12-28 + - Client options now support specifying a proxy URL. - Transport API is now private so the design can be revisited later. ## 0.1.1 - 2017-12-21 + - Switched to a custom ring buffer implementation for the response body to improve throughput. ## 0.1.0 - 2017-10-28 + - Initial release. diff --git a/Cargo.toml b/Cargo.toml index 27843fbb..f07b20d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chttp" -version = "0.1.4" +version = "0.1.5" description = "The practical HTTP client that is fun to use." authors = ["Stephen M. Coakley "] license = "MIT" diff --git a/README.md b/README.md index 46ffdb99..e6598815 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # cHTTP + The practical HTTP client that is fun to use. [![Build Status](https://semaphoreci.com/api/v1/sagebind/chttp/branches/master/badge.svg)](https://semaphoreci.com/sagebind/chttp) @@ -19,11 +20,13 @@ cHTTP provides a clean and easy-to-use interface around the venerable [libcurl]. - Uses the future standard Rust [http] interface for requests and responses. ## Why [libcurl]? + Not everything needs to be re-invented! For typical use cases, [libcurl] is a fantastic choice for making web requests. It's fast, reliable, well supported, and isn't going away any time soon. It has a reputation for having an unusual API that is sometimes tricky to use, but hey, that's why this library exists. ## Examples + Really simple example that spits out the response body from https://example.org: ```rust @@ -54,6 +57,7 @@ println!("{}", body); ``` ## Requirements + On Linux: - libcurl 7.24.0 or newer @@ -64,6 +68,7 @@ On Windows and macOS: - TBD ## Installation + Add this to your Cargo.toml file: ```toml @@ -72,6 +77,7 @@ chttp = "0.1" ``` ## License + This library is licensed under the MIT license. See the [LICENSE](LICENSE) file for details.