mirror of https://github.com/fafhrd91/actix-web
fixed doc attr for actors, add documentation
This commit is contained in:
parent
7454b36187
commit
eac108fb6f
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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)]
|
||||
|
|
Loading…
Reference in New Issue