From 64272b9938ffe84a196b00fd4f14125bcaf9f832 Mon Sep 17 00:00:00 2001 From: Joey Sacchini Date: Thu, 3 Dec 2020 16:27:58 -0500 Subject: make compression and encryption optional features --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 16d26a7..5789dd5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,6 @@ #![feature(backtrace)] +#[cfg(feature = "encryption")] mod cfb8; mod connection; mod reader; @@ -8,6 +9,7 @@ mod util; mod wrapper; mod writer; +#[cfg(feature = "encryption")] pub use cfb8::CipherError; pub use connection::CraftConnection; pub use reader::*; -- cgit