diff --git a/CHANGELOG.md b/CHANGELOG.md index 22c90336..a7b8dbe1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changes +## 0.10.0 + +* [Replace chrono with time-rs](https://github.com/tiny-http/tiny-http/commit/75ac7758fd0ca660c35f58c2a36edb23a42cda32) + + `chrono` was only used to store and format `DateTime` into the slightly odd format required by RFC 7231, so to + avoid the numerous RUSTSEC advisories generated by the `localtime_r` issue, we can just drop it entirely and switch + to `time-rs`. + Unfortunately this means we need to **bump our minimum tested compiler version to 1.51**, and as such this change + requires a full minor release. + ## 0.9.0 * [Rust 2018 Refactor](https://github.com/tiny-http/tiny-http/pull/208) diff --git a/Cargo.toml b/Cargo.toml index 6e77eb18..9fb49c8c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tiny_http" -version = "0.9.0" +version = "0.10.0" authors = ["pierre.krieger1708@gmail.com", "Corey Farwell "] description = "Low level HTTP server library" diff --git a/README.md b/README.md index 8a6282c8..5afc46c4 100644 --- a/README.md +++ b/README.md @@ -31,13 +31,7 @@ Add this to the `Cargo.toml` file of your project: ```toml [dependencies] -tiny_http = "0.8" -``` - -Don't forget to add the external crate: - -```rust -extern crate tiny_http; +tiny_http = "0.10" ``` ### Usage