diff --git a/CHANGELOG.md b/CHANGELOG.md index bca289ac..f9eae400 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog ## Unreleased - 2021-xx-xx + + +## 0.7.0 - 2022-01-18 - Add `channel` body type. - `from_fn` middleware can now alter the body type. - `Next` has an inherent `call` method so that the `Service` doesn't need importing. diff --git a/Cargo.toml b/Cargo.toml index cd960c90..916a6cb9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-web-lab" -version = "0.6.1" +version = "0.7.0" authors = ["Rob Ede "] description = "In-progress extractors and middleware for Actix Web" keywords = ["actix", "http", "web", "framework", "async"] diff --git a/README.md b/README.md index 0093eb15..058845c3 100644 --- a/README.md +++ b/README.md @@ -3,33 +3,33 @@ > Experimental extractors, middleware, and other extras for possible inclusion in Actix Web. [![crates.io](https://img.shields.io/crates/v/actix-web-lab?label=latest)](https://crates.io/crates/actix-web-lab) -[![Documentation](https://docs.rs/actix-web-lab/badge.svg)](https://docs.rs/actix-web-lab/0.6.1) +[![Documentation](https://docs.rs/actix-web-lab/badge.svg)](https://docs.rs/actix-web-lab/0.7.0) ![MIT or Apache 2.0 licensed](https://img.shields.io/crates/l/actix-web-lab.svg)
-[![dependency status](https://deps.rs/crate/actix-web-lab/0.6.1/status.svg)](https://deps.rs/crate/actix-web-lab/0.6.1) +[![dependency status](https://deps.rs/crate/actix-web-lab/0.7.0/status.svg)](https://deps.rs/crate/actix-web-lab/0.7.0) [![Download](https://img.shields.io/crates/d/actix-web-lab.svg)](https://crates.io/crates/actix-web-lab) [![CircleCI](https://circleci.com/gh/robjtede/actix-web-lab/tree/main.svg?style=shield)](https://circleci.com/gh/robjtede/actix-web-lab/tree/main) ## Features ### Responders -- `Csv`: efficient CSV streaming [(docs)](https://docs.rs/actix-web-lab/0.6.1/actix_web_lab/respond/struct.Csv.html) -- `NdJson`: efficient NDJSON streaming [(docs)](https://docs.rs/actix-web-lab/0.6.1/actix_web_lab/respond/struct.NdJson.html) +- `Csv`: efficient CSV streaming [(docs)](https://docs.rs/actix-web-lab/0.7.0/actix_web_lab/respond/struct.Csv.html) +- `NdJson`: efficient NDJSON streaming [(docs)](https://docs.rs/actix-web-lab/0.7.0/actix_web_lab/respond/struct.NdJson.html) ### Middleware -- `from_fn`: use an async function as a middleware [(docs)](https://docs.rs/actix-web-lab/0.6.1/actix_web_lab/middleware/fn.from_fn.html) +- `from_fn`: use an async function as a middleware [(docs)](https://docs.rs/actix-web-lab/0.7.0/actix_web_lab/middleware/fn.from_fn.html) ### Extractors -- `LazyData`: app data/state initialized on first use [(docs)](https://docs.rs/actix-web-lab/0.6.1/actix_web_lab/extract/struct.LazyData.html) -- `Json`: simplified JSON extractor with const-generic limits [(docs)](https://docs.rs/actix-web-lab/0.6.1/actix_web_lab/extract/struct.Json.html) +- `LazyData`: app data/state initialized on first use [(docs)](https://docs.rs/actix-web-lab/0.7.0/actix_web_lab/extract/struct.LazyData.html) +- `Json`: simplified JSON extractor with const-generic limits [(docs)](https://docs.rs/actix-web-lab/0.7.0/actix_web_lab/extract/struct.Json.html) ### Body Types -- `channel`: a simple channel-like body type with a sender side that can be used from another thread [(docs)](https://docs.rs/actix-web-lab/0.6.1/actix_web_lab/body/fn.channel.html) +- `channel`: a simple channel-like body type with a sender side that can be used from another thread [(docs)](https://docs.rs/actix-web-lab/0.7.0/actix_web_lab/body/fn.channel.html) ### Services -- `Redirect`: simple redirects [(docs)](https://docs.rs/actix-web-lab/0.6.1/actix_web_lab/web/struct.Redirect.html) +- `Redirect`: simple redirects [(docs)](https://docs.rs/actix-web-lab/0.7.0/actix_web_lab/web/struct.Redirect.html) ### Route Guards -- `Acceptable`: verifies that an `Accept` header is present and it contains a compatible MIME type. [(docs)](https://docs.rs/actix-web-lab/0.6.1/actix_web_lab/guard/struct.Acceptable.html) +- `Acceptable`: verifies that an `Accept` header is present and it contains a compatible MIME type. [(docs)](https://docs.rs/actix-web-lab/0.7.0/actix_web_lab/guard/struct.Acceptable.html) ## Things To Know About This Crate