diff --git a/CHANGELOG.md b/CHANGELOG.md index a53a36b..0d528bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ ## Unreleased +## v0.12 (2024-05-23) + +### Fixes + +* Fix bug when calling fill_buf() when there are no remaining bytes ([#75](https://github.com/drogue-iot/reqwless/pull/75)) +* Handle no-content status code 204 ([#76](https://github.com/drogue-iot/reqwless/pull/76)) + +### Features +* Support accessing the response code as an integer ([#70](https://github.com/drogue-iot/reqwless/pull/70) / [#73](https://github.com/drogue-iot/reqwless/pull/73)) +* Buffer writes before chunks are written to connection ([#72](https://github.com/drogue-iot/reqwless/pull/72)) + ### Fixes ## v0.9.1 (2023-11-04) diff --git a/Cargo.toml b/Cargo.toml index fa666c2..9aa9fed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reqwless" -version = "0.11.0" +version = "0.12.0" edition = "2021" resolver = "2" description = "HTTP client for embedded devices" @@ -27,7 +27,7 @@ defmt = { version = "0.3", optional = true } embedded-tls = { version = "0.17", default-features = false, optional = true } rand_chacha = { version = "0.3", default-features = false } nourl = "0.1.1" -esp-mbedtls = { git = "https://github.com/esp-rs/esp-mbedtls.git", features = [ +esp-mbedtls = { version = "0.1", git = "https://github.com/esp-rs/esp-mbedtls.git", features = [ "async", ], optional = true } diff --git a/README.md b/README.md index bf1a743..b62aad2 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,8 @@ If you are missing a feature or would like an improvement, please raise an issue :warning: Note that both features cannot be used together and will cause a compilation error. +:warning: The released version of `reqwless` does not support `esp-mbedtls`. The reason for this is that `esp-mbedtls` is not yet published to crates.io. One should specify `reqwless` as a git dependency to use `esp-mbedtls`. + ### esp-mbedtls **Can only be used on esp32 boards** `esp-mbedtls` supports TLS 1.2 and 1.3. It uses espressif's Rust wrapper over mbedtls, alongside optimizations such as hardware acceleration. @@ -115,8 +117,4 @@ This enables `alloc` on `embedded-tls` which in turn enables RSA signature algor # Minimum supported Rust version (MSRV) -`reqwless` requires a feature from `nightly` to compile `embedded-io` with async support: - -* `async_fn_in_trait` - -This feature is complete, but is not yet merged to `stable`. +`reqwless` can compile on stable Rust 1.75 and up.