Skip to content

Commit

Permalink
Merge pull request #77 from rmja/main
Browse files Browse the repository at this point in the history
Release 0.12
  • Loading branch information
rmja committed May 23, 2024
2 parents c13a2e8 + 8b7035c commit 6cba0f9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 }

Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.

0 comments on commit 6cba0f9

Please sign in to comment.