Skip to content

Commit

Permalink
prepare actix-web-lab release 0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Jan 18, 2022
1 parent c8dcbaa commit 6aecd16
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
## Unreleased - 2021-xx-xx


## 0.6.1 - 2022-01-18
- No significant changes since `0.6.0`.


## 0.6.0 - 2022-01-18
- Add `DisplayStream` responder.
- Add `from_fn` middleware.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "actix-web-lab"
version = "0.6.0"
version = "0.6.1"
authors = ["Rob Ede <robjtede@icloud.com>"]
description = "In-progress extractors and middleware for Actix Web"
keywords = ["actix", "http", "web", "framework", "async"]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
> 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.0)
[![Documentation](https://docs.rs/actix-web-lab/badge.svg)](https://docs.rs/actix-web-lab/0.6.1)
![MIT or Apache 2.0 licensed](https://img.shields.io/crates/l/actix-web-lab.svg)
<br />
[![dependency status](https://deps.rs/crate/actix-web-lab/0.6.0/status.svg)](https://deps.rs/crate/actix-web-lab/0.6.0)
[![dependency status](https://deps.rs/crate/actix-web-lab/0.6.1/status.svg)](https://deps.rs/crate/actix-web-lab/0.6.1)
[![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)

Expand Down
5 changes: 4 additions & 1 deletion src/middleware_from_fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ impl<B> Service<ServiceRequest> for Next<B> {
///
/// The wrapped function should have the following form:
/// ```ignore
/// use actix_web_lab::middleware::Next;
///
/// async fn my_mw(req: ServiceRequest, next: Next<B>) -> Result<ServiceResponse<B>, Error> {
/// // pre-processing
/// next.call(req).await
Expand All @@ -107,7 +109,8 @@ impl<B> Service<ServiceRequest> for Next<B> {
/// App, Error,
/// dev::{ServiceRequest, ServiceResponse, Service as _},
/// };
/// use actix_web_lab::middleware::{from_fn, Next};
/// use actix_web_lab::middleware::from_fn;
/// # use actix_web_lab::middleware::Next;
/// # async fn my_mw<B>(req: ServiceRequest, next: Next<B>) -> Result<ServiceResponse<B>, Error> {
/// # next.call(req).await
/// # }
Expand Down

0 comments on commit 6aecd16

Please sign in to comment.