fixed doc attr for actors, add documentation

This commit is contained in:
Maksym Vorobiov 2020-02-26 12:45:01 +02:00
parent 7454b36187
commit eac108fb6f
4 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,8 @@
* Setting a cookie's SameSite property, explicitly, to `SameSite::None` will now
result in `SameSite=None` being sent with the response Set-Cookie header.
To create a cookie without a SameSite attribute, remove any calls setting same_site.
* actix-http support for Actors messages was moved to actix-http crate and is enabled
with feature `actors`
## 2.0.0

View File

@ -6,6 +6,8 @@
* Update the `time` dependency to 0.2.7
* Moved actors messages support from actix crate, enabled with feature `actors`.
### Fixed
* Allow `SameSite=None` cookies to be sent in a response.

View File

@ -15,7 +15,7 @@ license = "MIT/Apache-2.0"
edition = "2018"
[package.metadata.docs.rs]
features = ["openssl", "rustls", "failure", "compress", "secure-cookies","actix"]
features = ["openssl", "rustls", "failure", "compress", "secure-cookies","actors"]
[lib]
name = "actix_http"

View File

@ -953,10 +953,12 @@ impl ResponseError for fail_ure::Error {}
#[cfg(feature = "actors")]
/// `InternalServerError` for `actix::MailboxError`
/// This is supported on feature=`actors` only
impl ResponseError for actix::MailboxError {}
#[cfg(feature = "actors")]
/// `InternalServerError` for `actix::ResolverError`
/// This is supported on feature=`actors` only
impl ResponseError for actix::actors::resolver::ResolverError {}
#[cfg(test)]