- Bugfix: unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed isize::MAX [#129]
[#129] #129
- Raise MSRV to 1.65.0
- Add next_header() to ArchiveIterator #122
- Fix use slice::from_raw_parts only if size > 0 #126
- Add feature "static" to allow static linkage for unix/macos #127
- Allow passing a closure for
ArchiveIterator::filter
#115
- Fix call stack runtime error on filter from
ArchiveIterator
#113
- Add illumos compilation support #99
- Fix segmentation when failing to decode entry #100
- Wrap return value of
archive_write_data_block(3)
#108 - Allow to filter ArchiveIterator entries #109
- Add debug asserts to ArchiveIterator::next() #110
- examples: add example using ArchiveIterator #111
- tests: port from unmaintained crate encoding to encoding_rs #112
- Raise MSRV to 1.59.0
- Change to 2021 edition
- Drop lifetime annotations of reader parameter in
ArchiveIterator::from_read
andArchiveIterator::from_read_with_encoding
#90 - Forward name decode failures in
ArchiveIterator::from_read
andArchiveIterator::from_read_with_encoding
instead of panicking #91 - Increase internal used buffersize #93, fixing sub-directories as file names. #89
- Add
libc::stat
information toArchiveContents::StartOfEntry
#88
- Avoid failing uncompressing files in case of ARCHIVE_WARN returns #85
- Add
_with_encoding
suffix method. #59
- ci: windows: Use pre-installed vcpkg and fix build #81
- Raise MSRV to 1.49.0
- Upgrade tokio-util to 0.7.0
- Fix absolute paths being extracted outside of destination directory #83
- Fix locale drop causing crash on a system without locale #71
- Use "lossy" strings for invalid filenames. #59
- Fix zip-slip vulnerability. #63
- Fix memory leak when dropping locale guard. #64
- Add
ArchiveIterator
type. #65
- Bump MSRV to 1.46. #54
- Install VcPkg/Pkg-Config depending on target env. #56
- Fix invalid display attribute causing build error #58
- Fix when uncompressing 7z archive to a directory. #53
- Fix unpacking of filenames with contains UTF-8 characters. #52
- Fixed the build script so it enforce the use of
libarchive
3.2.0 or newer.
- Update MSRV to 1.44.0.
- Fix error when uncompressing specific files from 7z archives. #48
- Upgrade
tokio
to 1.0.0 release.
- Upgrade
tokio
to 0.3.0 release.
- Fix two memory leaks related to entry pathname and hardlink handling. #33
- Fix a memory leak found in the error handling code path. #33
- Optional async support
- Uncompress service example and its async-std and Tokio counterparts
- Removed
Error::NullEntry
as it is unused.
-
Replaced
Error::FileNotFound
withstd::io::Error
using thestd::io::ErrorKind::NotFound
. -
Change error enum names to more meaninful ones. The following errors were renamed as:
ExtractionError
toExtraction
ArchiveNull
toNullArchive
EntryNull
toNullEntry
-
Change MSRV to 1.42.0
list_archive_file
allow for getting the list of files included in an archive. #22
- Change MSRV to 1.40.0
- Lower required version of libarchive to 3 instead of 3.2.2 #21
- Support for windows build through
vcpkg
#19
uncompress_data
(previouslyuncompress_file
) anduncompress_archive_file
, on success, now return the ammount of bytes they have uncompressed #16
-
More generic read/write api (should not be a breaking change) #14
Read
andWrite
arguments are no longer required to be a mutable reference, which allows for more tyes to be used, as&mut [u8]
-
Renamed
uncompress_file
function touncompress_data
#17
- Fixed outdated README
- Add crate level error type #4
-
API fully Reworked #6
-
Archive and uncompression is now handled with ffi calls to libarchive #6
-
Improved documentation, tests and examples
- Add support for Zip compressed archives #3
-
Add flags to tar command to perserve file permissions
-
Use BusyBox compatible commands for uncompression
- First release