diff options
author | Joey Sacchini <joey@sacchini.net> | 2020-12-03 16:27:58 -0500 |
---|---|---|
committer | Joey Sacchini <joey@sacchini.net> | 2020-12-03 16:27:58 -0500 |
commit | 64272b9938ffe84a196b00fd4f14125bcaf9f832 (patch) | |
tree | 156b82869e02476ec686be2ffb0b089fcf17929c /src/lib.rs | |
parent | d3e6ebc20b26a1863f1443884413b72e3605ec3d (diff) | |
download | craftio-rs-64272b9938ffe84a196b00fd4f14125bcaf9f832.tar.gz craftio-rs-64272b9938ffe84a196b00fd4f14125bcaf9f832.tar.bz2 craftio-rs-64272b9938ffe84a196b00fd4f14125bcaf9f832.zip |
make compression and encryption optional features
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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::*; |