From c5177b0fbd12759de2e329a7346b20f630859398 Mon Sep 17 00:00:00 2001 From: Richard Bradfield Date: Fri, 25 Feb 2022 11:03:25 +0000 Subject: [PATCH] Release v0.11.0 --- CHANGELOG.md | 15 +++++++++++++++ Cargo.toml | 2 +- README.md | 6 +++--- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7b8dbe1..85ec9a5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changes +## 0.11.0 + +* [Add support for Rustls](https://github.com/tiny-http/tiny-http/pull/218) + + Thanks to @3xmblzj5 and @travispaul for their help in implementing [`Rustls`](https://github.com/rustls/rustls) as a + drop-in replacement for OpenSSL, you can now build `tiny-http` with TLS support without any external dependencies! + OpenSSL will remain the default implementation if you just enable the `ssl` feature, but you are strongly encouraged + to use `ssl-rustls` where possible! + +* [Fix incorrect certificate chain loading](https://github.com/tiny-http/tiny-http/commit/876efd6b752e991c699d27d3d0ad9a47e9d35c29) + + Fix a longstanding bug where we were only loading the first (i.e. the leaf) certificate from any PEM file supplied by + the user. + + ## 0.10.0 * [Replace chrono with time-rs](https://github.com/tiny-http/tiny-http/commit/75ac7758fd0ca660c35f58c2a36edb23a42cda32) diff --git a/Cargo.toml b/Cargo.toml index 231cf42f..f47c9b5f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tiny_http" -version = "0.10.0" +version = "0.11.0" authors = ["pierre.krieger1708@gmail.com", "Corey Farwell "] description = "Low level HTTP server library" diff --git a/README.md b/README.md index 5afc46c4..0d437937 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ What does **tiny-http** handle? - Accepting and managing connections to the clients - Parsing requests - Requests pipelining - - Transfer-Encoding and Content-Encoding (**not fully implemented yet**) + - HTTPS (using either OpenSSL or Rustls) + - Transfer-Encoding and Content-Encoding - Turning user input (eg. POST input) into a contiguous UTF-8 string (**not implemented yet**) - Ranges (**not implemented yet**) - - HTTPS - `Connection: upgrade` (used by websockets) Tiny-http handles everything that is related to client connections and data transfers and encoding. @@ -31,7 +31,7 @@ Add this to the `Cargo.toml` file of your project: ```toml [dependencies] -tiny_http = "0.10" +tiny_http = "0.11" ``` ### Usage