1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 18:37:41 +02:00

update all packages to use actix-web v3 (#94)

This commit is contained in:
Rob Ede
2020-09-11 16:26:15 +01:00
committed by GitHub
parent 7e6bdf2eb2
commit bad5f32a68
22 changed files with 73 additions and 70 deletions

View File

@ -1,13 +1,9 @@
# Changelog
# Changes
All notable changes to this project will be documented in this file.
## Unreleased - 2020-xx-xx
* Update `actix-web` dependency to 3.0.0.
* Minimum supported Rust version(MSRV) is now 1.42.0.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## unreleased (for alpha version)
* Minimum supported Rust version(MSRV) is now 1.40.0.
## [0.4.2] - 2020-07-08
- Update the `base64` dependency to 0.12

View File

@ -17,14 +17,14 @@ name = "actix_web_httpauth"
path = "src/lib.rs"
[dependencies]
actix-web = { version = "^2.0", default_features = false }
actix-service = "1.0"
actix-web = { version = "3.0.0", default_features = false }
actix-service = "1.0.6"
futures-util = { version = "0.3", default-features = false }
bytes = "0.5"
base64 = "0.12"
[dev-dependencies]
actix-rt = "1.0"
actix-rt = "1"
[features]
default = []

View File

@ -15,11 +15,7 @@
//! [extractors]: https://actix.rs/docs/extractors/
//! [middleware]: ./middleware/
#![deny(bare_trait_objects)]
#![deny(missing_docs)]
#![deny(nonstandard_style)]
#![deny(rust_2018_idioms)]
#![deny(unused)]
#![deny(bare_trait_objects, missing_docs, nonstandard_style, rust_2018_idioms)]
#![deny(clippy::all)]
pub mod extractors;

View File

@ -107,7 +107,7 @@ where
/// Ok(req)
/// } else {
/// let config = req.app_data::<Config>()
/// .map(|data| data.get_ref().clone())
/// .map(|data| data.clone())
/// .unwrap_or_else(Default::default)
/// .scope("urn:example:channel=HBO&urn:example:rating=G,PG-13");
///