From 7454b361872aaa851c9d08d321685a99d7c6ca3c Mon Sep 17 00:00:00 2001 From: Maksym Vorobiov Date: Tue, 25 Feb 2020 22:57:32 +0200 Subject: [PATCH] renamed actix feature to actor --- actix-http/Cargo.toml | 2 +- actix-http/src/error.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 {}