Skip to content

Feature request: Add AutoFinishLzmaWriter for the .lzma file format #44

@sorairolake

Description

@sorairolake

I opened a pull request that uses this crate to add lzip (de)compression to ouch (ouch-org/ouch#863). I also opened a pull request to use this crate instead of the liblzma crate for xz compression (ouch-org/ouch#865). These use AutoFinishLzipWriter and AutoFinishXzWriterMt to finish the stream writing. This is because the existing code in https://github.com/ouch-org/ouch/blob/aeb27ccfcd628056d0daffb6166e54320b2448c7/src/commands/compress.rs seemed to assume that the stream writing would be finished by the Drop trait.

ouch does not yet support the .lzma file format compression. If AutoFinishLzmaWriter is added, ouch will be able to support the .lzma file format compression. If this is implemented, I would like to add the .lzma file format compression to ouch.

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