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 https://github.com/sstadick/gzp/pull/55.
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 https://github.com/sstadick/gzp/pull/55.