Skip to content

Commit

Permalink
Prepare 0.2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebind committed Sep 15, 2018
1 parent 76e9b14 commit 02708b8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 0.2.1 - 2018-09-15

- Enable HTTP/2 support.
- Apply a workaround for a potential bug in libcurl concerning timeouts in the agent event loop.

## 0.2.0 - 2018-09-12

- Refactor the internals of cHTTP to be "closer to the metal", with a single curl multi handle running in a background thread per client that multiplexes all requests. This improves connection pooling and reduces memory usage, and has only minimal public API changes. This also opens the door to providing an async API in the future. (#5)
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
name = "chttp"
version = "0.2.0"
version = "0.2.1"
description = "The practical HTTP client that is fun to use."
authors = ["Stephen M. Coakley <[email protected]>"]
license = "MIT"
keywords = ["http", "request", "client"]
categories = ["web-programming::http-client"]
readme = "README.md"
repository = "https://github.com/sagebind/chttp"

[features]
Expand All @@ -14,7 +15,7 @@ default = []
[dependencies]
bytes = "0.4"
crossbeam-channel = "0.2"
futures-preview = "0.2"
futures-preview = "0.2.2"
http = "0.1"
lazy_static = "1"
lazycell = "1.0"
Expand Down
15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ The practical HTTP client that is fun to use.

cHTTP provides a clean and easy-to-use interface around the venerable [libcurl]. Here are some of the features that are currently available:

- HTTP/2 support (if libcurl is compiled with it).
- HTTP/2 support.
- Connection pooling and reuse.
- Respone body streaming.
- Response body streaming.
- Request body uploading from memory or a stream.
- Tweakable redirect policy.
- TCP socket configuration.
Expand Down Expand Up @@ -56,17 +56,6 @@ let body = response.body_mut().text().unwrap();
println!("{}", body);
```

## Requirements

On Linux:

- libcurl 7.24.0 or newer
- OpenSSL 1.0.1, 1.0.2, 1.1.0, or LibreSSL

On Windows and macOS:

- TBD

## Installation

Add this to your Cargo.toml file:
Expand Down

0 comments on commit 02708b8

Please sign in to comment.