Skip to content

Feature request: make zio::Writer and zio::Ops public #535

@Pr0methean

Description

@Pr0methean

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions