I'm trying to address zip-rs/zip2#633, but the underlying writer instance of the DeflateEncoder varies between encrypted and unencrypted files. Thus, I'll need to bypass DeflateEncoder::new's call to Compress::new and instead create a Write implementation that wraps object_pool::ReusableOwned<flate2::Compress> instead of wrapping Compress directly. It would be much easier to do that if I could just call flate2::zio::Writer::new, but I can't because the module flate2::zio is private. Could you please make it public, so I can solve this user's issue without having to duplicate that struct's entire implementation of Write?
I'm trying to address zip-rs/zip2#633, but the underlying writer instance of the DeflateEncoder varies between encrypted and unencrypted files. Thus, I'll need to bypass
DeflateEncoder::new's call toCompress::newand instead create aWriteimplementation that wrapsobject_pool::ReusableOwned<flate2::Compress>instead of wrappingCompressdirectly. It would be much easier to do that if I could just callflate2::zio::Writer::new, but I can't because the moduleflate2::ziois private. Could you please make it public, so I can solve this user's issue without having to duplicate that struct's entire implementation of Write?