diff options
author | Martin Fischer <martin@push-f.com> | 2021-04-09 14:23:14 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-04-09 14:28:25 +0200 |
commit | f755eb02b4be1a2d97941f15c776d2391420ecad (patch) | |
tree | 48d4cab357e11cacf7de4a0546f1cae3db5a6382 /src/lib.rs | |
parent | 61d8ccaddde9ce3f50d11daa706e0c93f70a3cd4 (diff) |
make security module optional
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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; |