Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for specifying the unpacked size outside of header #17

Merged
merged 7 commits into from
Dec 16, 2019

Commits on Dec 9, 2019

  1. Add support for specifying the unpacked size outside of header

    Some LZMA streams, such as those used in OpenCTM, are encoded without
    the unpacked size specified in the header. This is possible to read in
    some of the C implementations of LZMA by specifying a header size and
    providing the unpacked size as an option to the decoder.
    
    This change adds the same possibility to lzma_rs in a typesafe manner,
    where the unpacked size and whether it should be written to the header
    is specified explicitly.
    dragly committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    fff789a View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2019

  1. Configuration menu
    Copy the full SHA
    1e9784c View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2019

  1. Only write end marker if unpacked size not present in header

    Also, make the Options derive Clone and Debug.
    dragly committed Dec 13, 2019
    Configuration menu
    Copy the full SHA
    223ce43 View commit details
    Browse the repository at this point in the history
  2. Skip tests that no longer makes sense

    These tests do not make sense because they provided a value (None) that
    indicated an end marker to be expected in cases where there should be
    none.
    dragly committed Dec 13, 2019
    Configuration menu
    Copy the full SHA
    f9e38c2 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/master' into dragly/add-support-…

    …for-custom-unpacked-size
    dragly committed Dec 13, 2019
    Configuration menu
    Copy the full SHA
    85cdd78 View commit details
    Browse the repository at this point in the history
  4. Cargo format

    dragly committed Dec 13, 2019
    Configuration menu
    Copy the full SHA
    69b0491 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2019

  1. Make options Copy.

    gendx committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    cb55801 View commit details
    Browse the repository at this point in the history