Skip to content

Support parallel compression of non-static writers #56

@tofay

Description

@tofay

I'm trying to use this crate with https://github.com/containers/ocidir-rs to create compressed container image layers, however the writer I need to wrap borrows data so doesn't satisfy the lifetime requirements of from_writer.

Would you be open to ParCompress allowing non-static writers by optionally accepting a scope on which the writer thread is spawned? I pushed an example to #55.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions