summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7bf11ba..bad68e9 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -157,6 +157,8 @@
//! Ok(format!("Welcome {}!", info.username))
//! }
//! ```
+//!
+//! Support for `actix-web 2.0.0` is available via the `actix2` feature.
#![allow()]
#![deny(
@@ -205,7 +207,7 @@
#[macro_use]
extern crate serde;
-#[cfg(feature = "actix")]
+#[cfg(any(feature = "actix", feature = "actix2"))]
pub mod actix;
mod de;
mod error;