mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-07 11:06:02 +00:00
compression: make Deflate{De, En}coderBuilder public
These structs are returned by the public method `Deflate{En,De}coder::builder`. Reported-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
parent
2598699fcb
commit
ba304a4f83
@ -1,8 +1,8 @@
|
|||||||
mod compression;
|
mod compression;
|
||||||
mod decompression;
|
mod decompression;
|
||||||
|
|
||||||
pub use compression::{DeflateEncoder, Level};
|
pub use compression::{DeflateEncoder, DeflateEncoderBuilder, Level};
|
||||||
pub use decompression::DeflateDecoder;
|
pub use decompression::{DeflateDecoder, DeflateDecoderBuilder};
|
||||||
|
|
||||||
const BUFFER_SIZE: usize = 8192;
|
const BUFFER_SIZE: usize = 8192;
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
||||||
|
|
||||||
pub use deflate::{DeflateDecoder, DeflateEncoder, Level};
|
pub use deflate::{
|
||||||
|
DeflateDecoder, DeflateDecoderBuilder, DeflateEncoder, DeflateEncoderBuilder, Level,
|
||||||
|
};
|
||||||
|
|
||||||
mod deflate;
|
mod deflate;
|
||||||
pub mod tar;
|
pub mod tar;
|
||||||
|
Loading…
Reference in New Issue
Block a user