Skip to content

Commit ceae00f

Browse files
authored
Fix breaking API change (#366)
* Fix breaking API change Re-export Level and module codec::{zstd, lz4, brotli}::parame Signed-off-by: Jiahao XU <[email protected]> * Fix re-export of mod in lib.rs Signed-off-by: Jiahao XU <[email protected]> * Format lib.rs Signed-off-by: Jiahao XU <[email protected]> --------- Signed-off-by: Jiahao XU <[email protected]>
1 parent d015393 commit ceae00f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/lib.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,14 @@ pub mod tokio;
162162

163163
pub use compression_codecs as codec;
164164
pub use compression_core as core;
165+
166+
pub use core::Level;
167+
168+
#[cfg(feature = "zstd")]
169+
pub use codec::zstd::params as zstd;
170+
171+
#[cfg(feature = "lz4")]
172+
pub use codec::lz4::params as lz4;
173+
174+
#[cfg(feature = "brotli")]
175+
pub use codec::brotli::params as brotli;

0 commit comments

Comments
 (0)