mirror of https://github.com/fafhrd91/actix-web
renamed actix feature to actor
This commit is contained in:
parent
edff66dc32
commit
7454b36187
|
@ -40,7 +40,7 @@ failure = ["fail-ure"]
|
|||
secure-cookies = ["ring"]
|
||||
|
||||
# support for actix Actor messages
|
||||
actix = ["actix"]
|
||||
actors = ["actix"]
|
||||
|
||||
[dependencies]
|
||||
actix-service = "1.0.1"
|
||||
|
|
|
@ -951,11 +951,11 @@ where
|
|||
/// Compatibility for `failure::Error`
|
||||
impl ResponseError for fail_ure::Error {}
|
||||
|
||||
#[cfg(feature = "actix")]
|
||||
#[cfg(feature = "actors")]
|
||||
/// `InternalServerError` for `actix::MailboxError`
|
||||
impl ResponseError for actix::MailboxError {}
|
||||
|
||||
#[cfg(feature = "actix")]
|
||||
#[cfg(feature = "actors")]
|
||||
/// `InternalServerError` for `actix::ResolverError`
|
||||
impl ResponseError for actix::actors::resolver::ResolverError {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue