From f589291cc11c76ff497e42276475763acb7910ee Mon Sep 17 00:00:00 2001 From: robjtede Date: Sun, 11 Sep 2022 20:58:13 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=201561b?= =?UTF-8?q?da82268931edb070501413a46337ed71290=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- actix_identity/index.html | 2 +- .../constant.DEFAULT_COOKIE_NAME.html | 2 +- .../constant.DEFAULT_PERIOD_SECS.html | 2 +- .../constant.DEFAULT_REQUEST_LIMIT.html | 2 +- .../constant.DEFAULT_SESSION_KEY.html | 2 +- actix_limitation/index.html | 2 +- actix_limitation/struct.Limiter.html | 10 +++---- .../trait.ProtoBufResponseBuilder.html | 2 +- actix_session/index.html | 2 +- actix_session/storage/index.html | 2 +- actix_settings/index.html | 2 +- actix_settings/struct.ActixSettings.html | 14 +++++----- actix_settings/struct.BasicSettings.html | 26 +++++++++---------- actix_settings/struct.NoSettings.html | 14 +++++----- actix_settings/trait.ApplySettings.html | 6 ++--- actix_settings/type.Settings.html | 2 +- actix_web_httpauth/extractors/index.html | 2 +- .../headers/authorization/index.html | 2 +- .../www_authenticate/bearer/index.html | 2 +- .../bearer/struct.Bearer.html | 26 +++++++++---------- .../headers/www_authenticate/index.html | 2 +- settings.html | 4 +-- src/actix_cors/inner.rs.html | 12 ++++++++- src/actix_identity/lib.rs.html | 6 +---- src/actix_limitation/lib.rs.html | 8 +----- src/actix_protobuf/lib.rs.html | 4 +-- src/actix_session/lib.rs.html | 18 +++++++++---- src/actix_session/storage/mod.rs.html | 8 ++++-- src/actix_settings/lib.rs.html | 14 ++++++---- src/actix_settings/settings/mod.rs.html | 18 ++++--------- src/actix_web_httpauth/extractors/mod.rs.html | 4 +-- .../headers/authorization/mod.rs.html | 10 ++++--- .../challenge/bearer/challenge.rs.html | 4 +-- .../challenge/bearer/mod.rs.html | 6 +---- .../headers/www_authenticate/mod.rs.html | 8 ++++-- 35 files changed, 128 insertions(+), 122 deletions(-) diff --git a/actix_identity/index.html b/actix_identity/index.html index 1c4268bec..356f12af5 100644 --- a/actix_identity/index.html +++ b/actix_identity/index.html @@ -1,4 +1,4 @@ -actix_identity - Rust
Expand description

Identity management for Actix Web.

+actix_identity - Rust
Expand description

Identity management for Actix Web.

actix-identity can be used to track identity of a user across multiple requests. It is built on top of HTTP sessions, via actix-session.

Getting started

diff --git a/actix_limitation/constant.DEFAULT_COOKIE_NAME.html b/actix_limitation/constant.DEFAULT_COOKIE_NAME.html index 198c2634b..0ce648f2d 100644 --- a/actix_limitation/constant.DEFAULT_COOKIE_NAME.html +++ b/actix_limitation/constant.DEFAULT_COOKIE_NAME.html @@ -1,4 +1,4 @@ DEFAULT_COOKIE_NAME in actix_limitation - Rust
pub const DEFAULT_COOKIE_NAME: &'static str = "sid";
Expand description

Default cookie name.

+ logo
pub const DEFAULT_COOKIE_NAME: &'static str = "sid";
Expand description

Default cookie name.

\ No newline at end of file diff --git a/actix_limitation/constant.DEFAULT_PERIOD_SECS.html b/actix_limitation/constant.DEFAULT_PERIOD_SECS.html index 1ac50bded..1ac6a8489 100644 --- a/actix_limitation/constant.DEFAULT_PERIOD_SECS.html +++ b/actix_limitation/constant.DEFAULT_PERIOD_SECS.html @@ -1,4 +1,4 @@ DEFAULT_PERIOD_SECS in actix_limitation - Rust
pub const DEFAULT_PERIOD_SECS: u64 = 3600;
Expand description

Default period (in seconds).

+ logo
pub const DEFAULT_PERIOD_SECS: u64 = 3600;
Expand description

Default period (in seconds).

\ No newline at end of file diff --git a/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html b/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html index dfe0546e6..ccbaabe64 100644 --- a/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html +++ b/actix_limitation/constant.DEFAULT_REQUEST_LIMIT.html @@ -1,4 +1,4 @@ DEFAULT_REQUEST_LIMIT in actix_limitation - Rust
pub const DEFAULT_REQUEST_LIMIT: usize = 5000;
Expand description

Default request limit.

+ logo
pub const DEFAULT_REQUEST_LIMIT: usize = 5000;
Expand description

Default request limit.

\ No newline at end of file diff --git a/actix_limitation/constant.DEFAULT_SESSION_KEY.html b/actix_limitation/constant.DEFAULT_SESSION_KEY.html index a3c60549a..284c66c31 100644 --- a/actix_limitation/constant.DEFAULT_SESSION_KEY.html +++ b/actix_limitation/constant.DEFAULT_SESSION_KEY.html @@ -1,4 +1,4 @@ DEFAULT_SESSION_KEY in actix_limitation - Rust
pub const DEFAULT_SESSION_KEY: &'static str = "rate-api-id";
Expand description

Default session key.

+ logo
pub const DEFAULT_SESSION_KEY: &'static str = "rate-api-id";
Expand description

Default session key.

\ No newline at end of file diff --git a/actix_limitation/index.html b/actix_limitation/index.html index e53d80077..7db4871cd 100644 --- a/actix_limitation/index.html +++ b/actix_limitation/index.html @@ -1,6 +1,6 @@ actix_limitation - Rust
Expand description

Rate limiter using a fixed window counter for arbitrary keys, backed by Redis for Actix Web.

+ logo
Expand description

Rate limiter using a fixed window counter for arbitrary keys, backed by Redis for Actix Web.

[dependencies]
 actix-web = "4"
 actix-limitation = "0.4"
diff --git a/actix_limitation/struct.Limiter.html b/actix_limitation/struct.Limiter.html index 37153cdee..6eed67353 100644 --- a/actix_limitation/struct.Limiter.html +++ b/actix_limitation/struct.Limiter.html @@ -1,13 +1,13 @@ Limiter in actix_limitation - Rust
pub struct Limiter { /* private fields */ }
Expand description

Rate limiter.

-

Implementations

Construct rate limiter builder with defaults.

+ logo
pub struct Limiter { /* private fields */ }
Expand description

Rate limiter.

+

Implementations

Construct rate limiter builder with defaults.

See redis-rs docs on connection parameters for how to set the Redis URL.

-

Consumes one rate limit unit, returning the status.

-

Trait Implementations

Returns a copy of the value. Read more

+

Consumes one rate limit unit, returning the status.

+

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

+

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

diff --git a/actix_protobuf/trait.ProtoBufResponseBuilder.html b/actix_protobuf/trait.ProtoBufResponseBuilder.html index 28e288acd..82370b7ba 100644 --- a/actix_protobuf/trait.ProtoBufResponseBuilder.html +++ b/actix_protobuf/trait.ProtoBufResponseBuilder.html @@ -1,3 +1,3 @@ ProtoBufResponseBuilder in actix_protobuf - Rust
pub trait ProtoBufResponseBuilder {
     fn protobuf<T: Message>(&mut self, value: T) -> Result<HttpResponse, Error>;
-}

Required Methods

Implementations on Foreign Types

Implementors

\ No newline at end of file +}

Required Methods

Implementations on Foreign Types

Implementors

\ No newline at end of file diff --git a/actix_session/index.html b/actix_session/index.html index fe0541f3d..6fd035aec 100644 --- a/actix_session/index.html +++ b/actix_session/index.html @@ -1,6 +1,6 @@ actix_session - Rust
Expand description

Session management for Actix Web.

+ logo
Expand description

Session management for Actix Web.

The HTTP protocol, at a first glance, is stateless: the client sends a request, the server parses its content, performs some processing and returns a response. The outcome is only influenced by the provided inputs (i.e. the request content) and whatever state the server diff --git a/actix_session/storage/index.html b/actix_session/storage/index.html index 78069ed70..6e8134578 100644 --- a/actix_session/storage/index.html +++ b/actix_session/storage/index.html @@ -1,6 +1,6 @@ actix_session::storage - Rust

Expand description

Pluggable storage backends for session state.

+ logo
Expand description

Pluggable storage backends for session state.

Structs

Use the session key, stored in the session cookie, as storage backend for the session state.

Use Redis as session storage backend.

A fluent builder to construct a RedisActorSessionStore instance with custom configuration diff --git a/actix_settings/index.html b/actix_settings/index.html index 976acec7a..4c2480f81 100644 --- a/actix_settings/index.html +++ b/actix_settings/index.html @@ -1,6 +1,6 @@ actix_settings - Rust

Expand description

Easily manage Actix Web’s settings from a TOML file and environment variables.

+ logo
Expand description

Easily manage Actix Web’s settings from a TOML file and environment variables.

To get started add a Settings::parse_toml("./Server.toml") call to the top of your main function. This will create a template file with descriptions of all the configurable settings. You can change or remove anything in that file and it will be picked up diff --git a/actix_settings/struct.ActixSettings.html b/actix_settings/struct.ActixSettings.html index 96d456f69..53f7cdd92 100644 --- a/actix_settings/struct.ActixSettings.html +++ b/actix_settings/struct.ActixSettings.html @@ -1,6 +1,6 @@ ActixSettings in actix_settings - Rust

pub struct ActixSettings {
Show 13 fields + logo
pub struct ActixSettings {
Show 13 fields pub hosts: Vec<Address>, pub mode: Mode, pub enable_compression: bool, @@ -28,17 +28,17 @@
client_shutdown: Timeout

Timeout duration for connection shutdown.

shutdown_timeout: Timeout

Timeout duration for graceful worker shutdown.

tls: Tls

TLS (HTTPS) configuration.

-

Trait Implementations

Returns a copy of the value. Read more

+

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Feeds this value into the given Hasher. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

-

This method tests for self and other values to be equal, and is used +

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

diff --git a/actix_settings/struct.BasicSettings.html b/actix_settings/struct.BasicSettings.html index 1f1e57f63..f8be7ed43 100644 --- a/actix_settings/struct.BasicSettings.html +++ b/actix_settings/struct.BasicSettings.html @@ -1,21 +1,21 @@ BasicSettings in actix_settings - Rust
pub struct BasicSettings<A> {
+                        logo
pub struct BasicSettings<A> {
     pub actix: ActixSettings,
     pub application: A,
 }
Expand description

Wrapper for server and application-specific settings.

Fields

actix: ActixSettings

Actix Web server settings.

application: A

Application-specific settings.

-

Implementations

Parse an instance of Self from a TOML file located at filepath.

+

Implementations

Parse an instance of Self from a TOML file located at filepath.

If the file doesn’t exist, it is generated from the default TOML template, after which the newly generated file is read in and parsed.

-

Parse an instance of Self straight from the default TOML template.

-

Parse an instance of Self straight from the default TOML template.

-

Writes the default TOML template to a new file, located at filepath.

+

Parse an instance of Self straight from the default TOML template.

+

Parse an instance of Self straight from the default TOML template.

+

Writes the default TOML template to a new file, located at filepath.

Errors

Returns a FileExists error if a file already exists at that location.

-

Attempts to parse value and override the referenced field.

+

Attempts to parse value and override the referenced field.

Examples
use actix_settings::{Settings, Mode};
 
@@ -24,7 +24,7 @@ location.

Settings::override_field(&mut settings.actix.mode, "production")?; assert_eq!(settings.actix.mode, Mode::Production);
-

Attempts to read an environment variable, parse it, and override the referenced field.

+

Attempts to read an environment variable, parse it, and override the referenced field.

Examples
use actix_settings::{Settings, Mode};
 
@@ -35,17 +35,17 @@ std::env::set_var("OVERRIDE__MODE", &mut settings.actix.mode, "OVERRIDE__MODE")?;
 assert_eq!(settings.actix.mode, Mode::Production);
-

Trait Implementations

Returns a copy of the value. Read more

+

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Feeds this value into the given Hasher. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

-

This method tests for self and other values to be equal, and is used +

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

diff --git a/actix_settings/struct.NoSettings.html b/actix_settings/struct.NoSettings.html index caca7a132..e6e2b1fa3 100644 --- a/actix_settings/struct.NoSettings.html +++ b/actix_settings/struct.NoSettings.html @@ -1,17 +1,17 @@ NoSettings in actix_settings - Rust
#[non_exhaustive]
pub struct NoSettings {}
Expand description

Marker type representing no defined application-specific settings.

-

Trait Implementations

Returns a copy of the value. Read more

+ logo
#[non_exhaustive]
pub struct NoSettings {}
Expand description

Marker type representing no defined application-specific settings.

+

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Deserialize this value from the given Serde deserializer. Read more

-

Feeds this value into the given Hasher. Read more

+

Formats the value using the given formatter. Read more

+

Deserialize this value from the given Serde deserializer. Read more

+

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

-

This method tests for self and other values to be equal, and is used +

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

diff --git a/actix_settings/trait.ApplySettings.html b/actix_settings/trait.ApplySettings.html index 3a9da4cce..8940b36d2 100644 --- a/actix_settings/trait.ApplySettings.html +++ b/actix_settings/trait.ApplySettings.html @@ -1,7 +1,7 @@ ApplySettings in actix_settings - Rust
pub trait ApplySettings {
+                        logo
pub trait ApplySettings {
     fn apply_settings<A>(self, settings: &BasicSettings<A>) -> Self
   where
        A: DeserializeOwned
; }
Expand description

Extension trait for applying parsed settings to the server object.

-

Required Methods

Apply a BasicSettings value to self.

-

Implementations on Foreign Types

Implementors

\ No newline at end of file +

Required Methods

Apply a BasicSettings value to self.

+

Implementations on Foreign Types

Implementors

\ No newline at end of file diff --git a/actix_settings/type.Settings.html b/actix_settings/type.Settings.html index 6baf8100b..85c5907e4 100644 --- a/actix_settings/type.Settings.html +++ b/actix_settings/type.Settings.html @@ -1,4 +1,4 @@ Settings in actix_settings - Rust

Type Definition actix_settings::Settings

source · []
pub type Settings = BasicSettings<NoSettings>;
Expand description

Convenience type alias for BasicSettings with no defined application-specific settings.

+ logo

Type Definition actix_settings::Settings

source · []
pub type Settings = BasicSettings<NoSettings>;
Expand description

Convenience type alias for BasicSettings with no defined application-specific settings.

\ No newline at end of file diff --git a/actix_web_httpauth/extractors/index.html b/actix_web_httpauth/extractors/index.html index cb805ec00..2016ec696 100644 --- a/actix_web_httpauth/extractors/index.html +++ b/actix_web_httpauth/extractors/index.html @@ -1,4 +1,4 @@ -actix_web_httpauth::extractors - Rust
Expand description

Type-safe authentication information extractors.

+actix_web_httpauth::extractors - Rust
Expand description

Type-safe authentication information extractors.

Modules

Extractor for the “Basic” HTTP Authentication Scheme.

Extractor for the “Bearer” HTTP Authentication Scheme.

Structs

Authentication error returned by authentication extractors.

diff --git a/actix_web_httpauth/headers/authorization/index.html b/actix_web_httpauth/headers/authorization/index.html index 606f6a1d5..d4b9f25c4 100644 --- a/actix_web_httpauth/headers/authorization/index.html +++ b/actix_web_httpauth/headers/authorization/index.html @@ -1,4 +1,4 @@ -actix_web_httpauth::headers::authorization - Rust
Expand description

Authorization header and various auth schemes.

+actix_web_httpauth::headers::authorization - Rust
Expand description

Authorization header and various auth schemes.

Structs

Authorization header, defined in RFC 7235

Credentials for Basic authentication scheme, defined in RFC 7617

Credentials for Bearer authentication scheme, defined in RFC 6750.

diff --git a/actix_web_httpauth/headers/www_authenticate/bearer/index.html b/actix_web_httpauth/headers/www_authenticate/bearer/index.html index ea77d5dd3..1fca0bdc4 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/index.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/index.html @@ -1,4 +1,4 @@ -actix_web_httpauth::headers::www_authenticate::bearer - Rust
Expand description

Challenge for the “Bearer” HTTP Authentication Scheme.

+actix_web_httpauth::headers::www_authenticate::bearer - Rust
Expand description

Challenge for the “Bearer” HTTP Authentication Scheme.

Structs

Challenge for WWW-Authenticate header with HTTP Bearer auth scheme, described in RFC 6750.

Builder for the Bearer challenge.

Enums

Bearer authorization error types, described in RFC 6750.

diff --git a/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html b/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html index b463155a7..c36754b2e 100644 --- a/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html +++ b/actix_web_httpauth/headers/www_authenticate/bearer/struct.Bearer.html @@ -1,4 +1,4 @@ -Bearer in actix_web_httpauth::headers::www_authenticate::bearer - Rust
pub struct Bearer { /* private fields */ }
Expand description

Challenge for WWW-Authenticate header with HTTP Bearer auth scheme, described in RFC 6750.

+Bearer in actix_web_httpauth::headers::www_authenticate::bearer - Rust
pub struct Bearer { /* private fields */ }
Expand description

Challenge for WWW-Authenticate header with HTTP Bearer auth scheme, described in RFC 6750.

Examples

use actix_web_httpauth::headers::www_authenticate::bearer::{
     Bearer, Error,
@@ -18,38 +18,38 @@
         .insert_header(WwwAuthenticate(challenge))
         .finish()
 }
-

Implementations

Creates the builder for Bearer challenge.

+

Implementations

Creates the builder for Bearer challenge.

Examples
let challenge = Bearer::build()
     .realm("Restricted area")
     .scope("openid profile email")
     .finish();

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.

-

Returns a copy of the value. Read more

+

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

-

Formats the value using the given formatter. Read more

-

Returns the “default value” for a type. Read more

-

Formats the value using the given formatter. Read more

-

Feeds this value into the given Hasher. Read more

+

Formats the value using the given formatter. Read more

+

Returns the “default value” for a type. Read more

+

Formats the value using the given formatter. Read more

+

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

-

This method returns an Ordering between self and other. Read more

+

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

-

This method tests for self and other values to be equal, and is used +

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

-

This method returns an ordering between self and other values if one exists. Read more

+

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

-

The type returned in the event of a conversion error.

-

Try to convert value to a HeaderValue.

-

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

+

The type returned in the event of a conversion error.

+

Try to convert value to a HeaderValue.

+

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

diff --git a/actix_web_httpauth/headers/www_authenticate/index.html b/actix_web_httpauth/headers/www_authenticate/index.html index bf719d346..74fc0606f 100644 --- a/actix_web_httpauth/headers/www_authenticate/index.html +++ b/actix_web_httpauth/headers/www_authenticate/index.html @@ -1,4 +1,4 @@ -actix_web_httpauth::headers::www_authenticate - Rust
Expand description

WWW-Authenticate header and various auth challenges.

+actix_web_httpauth::headers::www_authenticate - Rust
Expand description

WWW-Authenticate header and various auth challenges.

Modules

Challenge for the “Basic” HTTP Authentication Scheme.

Challenge for the “Bearer” HTTP Authentication Scheme.

Structs

WWW-Authenticate header, described in RFC 7235.

diff --git a/settings.html b/settings.html index 3e7115966..307dffbee 100644 --- a/settings.html +++ b/settings.html @@ -1,3 +1 @@ -Rustdoc settings

Rustdoc settings

Back
\ No newline at end of file +Rustdoc settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/src/actix_cors/inner.rs.html b/src/actix_cors/inner.rs.html index f5a88a9ef..e6f42b1e7 100644 --- a/src/actix_cors/inner.rs.html +++ b/src/actix_cors/inner.rs.html @@ -383,7 +383,17 @@ 381 382 383 -
use std::{collections::HashSet, convert::TryFrom, convert::TryInto, fmt, rc::Rc};
+384
+385
+386
+387
+388
+
use std::{
+    collections::HashSet,
+    convert::{TryFrom, TryInto},
+    fmt,
+    rc::Rc,
+};
 
 use actix_web::{
     dev::RequestHead,
diff --git a/src/actix_identity/lib.rs.html b/src/actix_identity/lib.rs.html
index 283591692..667b725ff 100644
--- a/src/actix_identity/lib.rs.html
+++ b/src/actix_identity/lib.rs.html
@@ -96,8 +96,6 @@
 96
 97
 98
-99
-100
 
//! Identity management for Actix Web.
 //!
 //! `actix-identity` can be used to track identity of a user across multiple requests. It is built
@@ -195,8 +193,6 @@
 mod identity_ext;
 mod middleware;
 
-pub use self::identity::Identity;
-pub use self::identity_ext::IdentityExt;
-pub use self::middleware::IdentityMiddleware;
+pub use self::{identity::Identity, identity_ext::IdentityExt, middleware::IdentityMiddleware};
 
\ No newline at end of file diff --git a/src/actix_limitation/lib.rs.html b/src/actix_limitation/lib.rs.html index 6b31eedcd..522de5006 100644 --- a/src/actix_limitation/lib.rs.html +++ b/src/actix_limitation/lib.rs.html @@ -179,9 +179,6 @@ 177 178 179 -180 -181 -182
//! Rate limiter using a fixed window counter for arbitrary keys, backed by Redis for Actix Web.
 //!
 //! ```toml
@@ -244,10 +241,7 @@
 mod middleware;
 mod status;
 
-pub use self::builder::Builder;
-pub use self::errors::Error;
-pub use self::middleware::RateLimiter;
-pub use self::status::Status;
+pub use self::{builder::Builder, errors::Error, middleware::RateLimiter, status::Status};
 
 /// Default request limit.
 pub const DEFAULT_REQUEST_LIMIT: usize = 5000;
diff --git a/src/actix_protobuf/lib.rs.html b/src/actix_protobuf/lib.rs.html
index 8b06b415d..0b3a20d55 100644
--- a/src/actix_protobuf/lib.rs.html
+++ b/src/actix_protobuf/lib.rs.html
@@ -601,14 +601,14 @@
         value
             .encode(&mut body)
             .map_err(ProtoBufPayloadError::Serialize)?;
+
         Ok(self.body(body))
     }
 }
 
 #[cfg(test)]
 mod tests {
-    use actix_web::http::header;
-    use actix_web::test::TestRequest;
+    use actix_web::{http::header, test::TestRequest};
 
     use super::*;
 
diff --git a/src/actix_session/lib.rs.html b/src/actix_session/lib.rs.html
index 5b5022eb9..85c0b5bd8 100644
--- a/src/actix_session/lib.rs.html
+++ b/src/actix_session/lib.rs.html
@@ -732,6 +732,10 @@
 730
 731
 732
+733
+734
+735
+736
 
//! Session management for Actix Web.
 //!
 //! The HTTP protocol, at a first glance, is stateless: the client sends a request, the server
@@ -880,9 +884,11 @@
 mod session_ext;
 pub mod storage;
 
-pub use self::middleware::SessionMiddleware;
-pub use self::session::{Session, SessionGetError, SessionInsertError, SessionStatus};
-pub use self::session_ext::SessionExt;
+pub use self::{
+    middleware::SessionMiddleware,
+    session::{Session, SessionGetError, SessionInsertError, SessionStatus},
+    session_ext::SessionExt,
+};
 
 #[cfg(test)]
 pub mod test_helpers {
@@ -941,9 +947,11 @@
         use serde::{Deserialize, Serialize};
         use serde_json::json;
 
-        use crate::config::{CookieContentSecurity, PersistentSession, TtlExtensionPolicy};
         use crate::{
-            storage::SessionStore, test_helpers::key, Session, SessionExt, SessionMiddleware,
+            config::{CookieContentSecurity, PersistentSession, TtlExtensionPolicy},
+            storage::SessionStore,
+            test_helpers::key,
+            Session, SessionExt, SessionMiddleware,
         };
 
         pub(super) async fn basic_workflow<F, Store>(
diff --git a/src/actix_session/storage/mod.rs.html b/src/actix_session/storage/mod.rs.html
index 667d61154..1a6d83b7e 100644
--- a/src/actix_session/storage/mod.rs.html
+++ b/src/actix_session/storage/mod.rs.html
@@ -26,13 +26,17 @@
 24
 25
 26
+27
+28
 
//! Pluggable storage backends for session state.
 
 mod interface;
 mod session_key;
 
-pub use self::interface::{LoadError, SaveError, SessionStore, UpdateError};
-pub use self::session_key::SessionKey;
+pub use self::{
+    interface::{LoadError, SaveError, SessionStore, UpdateError},
+    session_key::SessionKey,
+};
 
 #[cfg(feature = "cookie-session")]
 mod cookie;
diff --git a/src/actix_settings/lib.rs.html b/src/actix_settings/lib.rs.html
index d0d94997c..8640eba77 100644
--- a/src/actix_settings/lib.rs.html
+++ b/src/actix_settings/lib.rs.html
@@ -809,6 +809,8 @@
 807
 808
 809
+810
+811
 
//! Easily manage Actix Web's settings from a TOML file and environment variables.
 //!
 //! To get started add a [`Settings::parse_toml("./Server.toml")`](Settings::parse_toml) call to the
@@ -900,11 +902,13 @@
 mod parse;
 mod settings;
 
-pub use self::error::Error;
-pub use self::parse::Parse;
-pub use self::settings::{
-    ActixSettings, Address, Backlog, KeepAlive, MaxConnectionRate, MaxConnections, Mode,
-    NumWorkers, Timeout, Tls,
+pub use self::{
+    error::Error,
+    parse::Parse,
+    settings::{
+        ActixSettings, Address, Backlog, KeepAlive, MaxConnectionRate, MaxConnections, Mode,
+        NumWorkers, Timeout, Tls,
+    },
 };
 
 /// Convenience type alias for `Result<T, AtError>`.
diff --git a/src/actix_settings/settings/mod.rs.html b/src/actix_settings/settings/mod.rs.html
index 4122faff0..bfa7dd181 100644
--- a/src/actix_settings/settings/mod.rs.html
+++ b/src/actix_settings/settings/mod.rs.html
@@ -61,10 +61,6 @@
 59
 60
 61
-62
-63
-64
-65
 
use serde::Deserialize;
 
 mod address;
@@ -77,15 +73,11 @@
 mod timeout;
 mod tls;
 
-pub use self::address::Address;
-pub use self::backlog::Backlog;
-pub use self::keep_alive::KeepAlive;
-pub use self::max_connection_rate::MaxConnectionRate;
-pub use self::max_connections::MaxConnections;
-pub use self::mode::Mode;
-pub use self::num_workers::NumWorkers;
-pub use self::timeout::Timeout;
-pub use self::tls::Tls;
+pub use self::{
+    address::Address, backlog::Backlog, keep_alive::KeepAlive,
+    max_connection_rate::MaxConnectionRate, max_connections::MaxConnections, mode::Mode,
+    num_workers::NumWorkers, timeout::Timeout, tls::Tls,
+};
 
 /// Settings types for Actix Web.
 #[derive(Debug, Clone, PartialEq, Eq, Hash, Deserialize)]
diff --git a/src/actix_web_httpauth/extractors/mod.rs.html b/src/actix_web_httpauth/extractors/mod.rs.html
index 28b3af995..23f5f77b0 100644
--- a/src/actix_web_httpauth/extractors/mod.rs.html
+++ b/src/actix_web_httpauth/extractors/mod.rs.html
@@ -6,7 +6,6 @@
 6
 7
 8
-9
 
//! Type-safe authentication information extractors.
 
 pub mod basic;
@@ -14,7 +13,6 @@
 mod config;
 mod errors;
 
-pub use self::config::AuthExtractorConfig;
-pub use self::errors::AuthenticationError;
+pub use self::{config::AuthExtractorConfig, errors::AuthenticationError};
 
\ No newline at end of file diff --git a/src/actix_web_httpauth/headers/authorization/mod.rs.html b/src/actix_web_httpauth/headers/authorization/mod.rs.html index 1203cd8bd..e21213d58 100644 --- a/src/actix_web_httpauth/headers/authorization/mod.rs.html +++ b/src/actix_web_httpauth/headers/authorization/mod.rs.html @@ -7,14 +7,18 @@ 7 8 9 +10 +11
//! `Authorization` header and various auth schemes.
 
 mod errors;
 mod header;
 mod scheme;
 
-pub use self::errors::ParseError;
-pub use self::header::Authorization;
-pub use self::scheme::{basic::Basic, bearer::Bearer, Scheme};
+pub use self::{
+    errors::ParseError,
+    header::Authorization,
+    scheme::{basic::Basic, bearer::Bearer, Scheme},
+};
 
\ No newline at end of file diff --git a/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/challenge.rs.html b/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/challenge.rs.html index ad573518a..1b3f52e2a 100644 --- a/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/challenge.rs.html +++ b/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/challenge.rs.html @@ -139,7 +139,6 @@ 139 140 141 -142
use std::{borrow::Cow, fmt, str};
 
 use actix_web::{
@@ -147,8 +146,7 @@
     web::{BufMut, Bytes, BytesMut},
 };
 
-use super::super::Challenge;
-use super::{BearerBuilder, Error};
+use super::{super::Challenge, BearerBuilder, Error};
 use crate::utils;
 
 /// Challenge for [`WWW-Authenticate`] header with HTTP Bearer auth scheme, described in [RFC 6750].
diff --git a/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/mod.rs.html b/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/mod.rs.html
index e04dd2bb8..e525933ae 100644
--- a/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/mod.rs.html
+++ b/src/actix_web_httpauth/headers/www_authenticate/challenge/bearer/mod.rs.html
@@ -23,17 +23,13 @@
 23
 24
 25
-26
-27
 
//! Challenge for the "Bearer" HTTP Authentication Scheme.
 
 mod builder;
 mod challenge;
 mod errors;
 
-pub use self::builder::BearerBuilder;
-pub use self::challenge::Bearer;
-pub use self::errors::Error;
+pub use self::{builder::BearerBuilder, challenge::Bearer, errors::Error};
 
 #[cfg(test)]
 mod tests {
diff --git a/src/actix_web_httpauth/headers/www_authenticate/mod.rs.html b/src/actix_web_httpauth/headers/www_authenticate/mod.rs.html
index 8ab37324a..7c7745244 100644
--- a/src/actix_web_httpauth/headers/www_authenticate/mod.rs.html
+++ b/src/actix_web_httpauth/headers/www_authenticate/mod.rs.html
@@ -5,12 +5,16 @@
 5
 6
 7
+8
+9
 
//! `WWW-Authenticate` header and various auth challenges.
 
 mod challenge;
 mod header;
 
-pub use self::challenge::{basic, bearer, Challenge};
-pub use self::header::WwwAuthenticate;
+pub use self::{
+    challenge::{basic, bearer, Challenge},
+    header::WwwAuthenticate,
+};
 
\ No newline at end of file