mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 18:37:41 +02:00
bump msrv to 1.51
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
# Changes
|
||||
|
||||
## Unreleased - 2020-xx-xx
|
||||
* Minimum supported Rust version (MSRV) is now 1.51.
|
||||
|
||||
|
||||
## 0.6.0-beta.2 - 2020-06-27
|
||||
|
@ -10,7 +10,7 @@
|
||||
## Documentation & Resources
|
||||
|
||||
- [API Documentation](*https://docs.rs/actix-web-httpauth/)
|
||||
- Minimum Supported Rust Version (MSRV): 1.46
|
||||
- Minimum Supported Rust Version (MSRV): 1.51
|
||||
|
||||
## Features
|
||||
- Typed [Authorization] and [WWW-Authenticate] headers
|
||||
|
@ -94,7 +94,7 @@ pub struct BasicAuth(Basic);
|
||||
impl BasicAuth {
|
||||
/// Returns client's user-ID.
|
||||
pub fn user_id(&self) -> &Cow<'static, str> {
|
||||
&self.0.user_id()
|
||||
self.0.user_id()
|
||||
}
|
||||
|
||||
/// Returns client's password.
|
||||
|
@ -15,8 +15,8 @@
|
||||
//! [Extractors]: https://actix.rs/docs/extractors/
|
||||
//! [Middleware]: ./middleware
|
||||
|
||||
#![forbid(unsafe_code)]
|
||||
#![deny(missing_docs, nonstandard_style, rust_2018_idioms)]
|
||||
#![deny(clippy::all)]
|
||||
|
||||
pub mod extractors;
|
||||
pub mod headers;
|
||||
|
Reference in New Issue
Block a user