diff --git a/actix-http/Cargo.toml b/actix-http/Cargo.toml index 74fa46612..2c3f9ef81 100644 --- a/actix-http/Cargo.toml +++ b/actix-http/Cargo.toml @@ -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" diff --git a/actix-http/src/error.rs b/actix-http/src/error.rs index cfd24c7b6..35999671b 100644 --- a/actix-http/src/error.rs +++ b/actix-http/src/error.rs @@ -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 {}