aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 760acf1..034a21b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -6,10 +6,13 @@
pub use mime;
pub use httpdate;
-pub mod security;
pub mod request;
pub mod response;
-mod signed;
+
+#[cfg(feature="security")]
+#[cfg_attr(docsrs, doc(cfg(feature = "security")))]
+pub mod security;
+
#[cfg(feature="hyper_body")]
#[cfg_attr(docsrs, doc(cfg(feature = "hyper_body")))]
pub mod hyper_body;