summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorSam Scott <sam@osohq.com>2020-12-06 21:54:44 -0500
committerSam Scott <sam@osohq.com>2020-12-06 21:54:44 -0500
commit7dc1b7c86749cbbe50a308e73469659232d9a3bb (patch)
treef5c4f440b0acae16012ff5372f39b5ff5aac8092 /src/lib.rs
parent5ec5d0989476dbae1e1fdb82ba52a39f54d8f7e7 (diff)
Add support for actix 3.
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;