Update Rust crate zip to v7 #832
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.6.6β7.0.0Release Notes
zip-rs/zip2 (zip)
v7.1.0Compare Source
π Features
ZipArchivewithout reparsing (#β485)π Bug Fixes
getrandomdependency (#β504)π Refactor
OrdandPartialOrdforDateTime(#β484)βοΈ Miscellaneous Tasks
lzma-rust2to at least 0.15.5 (#β491)v7.0.0Compare Source
getrandom,hmac,pbkdf2,sha1,zeroize.lzma-staticandxz-staticfeature flags, which were deprecated synonyms oflzmaandxz. (#β405, #β425)π Features
SimpleFileOptions) const DEFAULT implementation (#β474)set_auto_large_file()method to enable large-file data descriptor when necessary (#β468)π Bug Fixes
βοΈ Miscellaneous Tasks
Deps
lzma-staticandxz-staticfeature flags, which are deprecated synonyms oflzmaandxz. (#β405, #β425)v6.0.0Compare Source
getrandom,hmac,pbkdf2,sha1,zeroize.lzma-staticandxz-staticfeature flags, which were deprecated synonyms oflzmaandxz. (#β405, #β425)π Features
SimpleFileOptions) const DEFAULT implementation (#β474)set_auto_large_file()method to enable large-file data descriptor when necessary (#β468)π Bug Fixes
βοΈ Miscellaneous Tasks
Deps
lzma-staticandxz-staticfeature flags, which are deprecated synonyms oflzmaandxz. (#β405, #β425)v5.1.1Compare Source
π Bug Fixes
chrono(#β46)βοΈ Miscellaneous Tasks
v5.1.0Compare Source
π Features
v5.0.1Compare Source
π Bug Fixes
v5.0.0Compare Source
π Features
v4.6.1Compare Source
π Bug Fixes
lzma-rstoliblzma(#β407)v4.6.0Compare Source
π Features
π Bug Fixes
v4.5.0Compare Source
π Features
v4.4.0Compare Source
π Features
lzma-staticandxz-staticfeatures that enableliblzma/static(#β393)βοΈ Miscellaneous Tasks
v4.3.0Compare Source
π Features
v4.2.0Compare Source
π Features
v4.1.0Compare Source
π Features
v4.0.0Compare Source
π Bug Fixes
βοΈ Miscellaneous Tasks
v3.0.0Compare Source
π Bug Fixes
flate2dependency of thedeflate-flate2feature. (#β345)βοΈ Miscellaneous Tasks
deflate-flate2dependency on specific backenddeflate-minizfeature flag (#β351)v2.6.1Compare Source
π Bug Fixes
v2.6.0Compare Source
π Features
time::PrimitiveDateTime(#β322)jiffintegration (#β323)π Bug Fixes
v2.5.0Compare Source
π Features
time::PrimitiveDateTime(#β322)jiffintegration (#β323)π Bug Fixes
v2.4.2Compare Source
π Bug Fixes
deep_copy_fileproduced a mangled file header on big-endian platforms (#β309)v2.4.1Compare Source
π Bug Fixes
v2.4.0Compare Source
π Features
ZipArchive::root_dirandZipArchive::extract_unwrapped_root_dir(#β304)π Bug Fixes
v2.3.0Compare Source
π Features
π Bug Fixes
βοΈ Miscellaneous Tasks
v2.2.3Compare Source
π Refactor
DateTime(#β267)βοΈ Miscellaneous Tasks
v2.2.2Compare Source
π Bug Fixes
v2.2.1Compare Source
π Bug Fixes
β‘ Performance
v2.2.0Compare Source
π Features
ZipArchive::central_directory_start(#β232)v2.1.6Compare Source
π Bug Fixes
π Refactor
v2.1.5Compare Source
π Refactor
v2.1.4Compare Source
π Bug Fixes
deep_copy_fileno longer allows overwriting an existing file, to match the behavior ofshallow_copy_filemerge_archive,abort_fileanddeep_copy_file. As well, we now return an error when a file is being copied to itself.DebugforZipWritereven when it's not implemented for the inner writer's typefinish_into_readable()would corrupt the archive if the central directory had movedπ Refactor
β‘ Performance
validate_extra_data()callβοΈ Miscellaneous Tasks
c934c82ok_or_abort_file, and inline when that fails borrow checkerok_or_abort_file, and inline when that fails borrow checkerdebug_assert_eq!v2.1.3Compare Source
π Bug Fixes
π Refactor
βοΈ Miscellaneous Tasks
deserializefor safetyv2.1.2Compare Source
π Bug Fixes
DebugforZipWriterπ Refactor
βοΈ Miscellaneous Tasks
v2.1.1Compare Source
π Bug Fixes
DebugforZipWriterπ Refactor
βοΈ Miscellaneous Tasks
v2.1.0Compare Source
π Features
DateTimeand MS-DOS pairπ Bug Fixes
βοΈ Miscellaneous Tasks
version_neededis appliedversion_neededandversion_made_bywork with recently-merged changesv2.0.0Compare Source
π Features
fmt::DisplayforDateTimeDateTimeπ Refactor
last_modified_timetoOption<DateTime>from_msdostofrom_msdos_unchecked, make it unsafe, and addtry_from_msdos(#β145)βοΈ Miscellaneous Tasks
now_utc()as default only when writing, not readingv1.3.1Compare Source
π Refactor
deflateenable both default implementationsimpl TryInto<NaiveDateTime> for DateTimetoimpl TryFrom<DateTime> for NaiveDateTime(#β136)β‘ Performance
flate2/zlib-ngβοΈ Miscellaneous Tasks
v1.3.0Compare Source
π Features
is_symlinkmethodπ Bug Fixes
π Refactor
--all-featuresimplicitly enables the deprecated featureβοΈ Miscellaneous Tasks
Box<str>, so generifyis_dirto accept oneZipFileData::is_dir()methodv1.2.3Compare Source
π Bug Fixes
cdable by non-ownersβοΈ Miscellaneous Tasks
v1.2.2Compare Source
π Bug Fixes
β‘ Performance
v1.2.1Compare Source
π Bug Fixes
Storedthe default compression method ifDeflatedisn't available, so that zip files are readable by as much software as possibleπ Refactor
impl Arbitrary for FileOptionsatomicmodulev1.2.0Compare Source
π Features
decompressed_size()so non-recursive ZIP bombs can be detectedπ Refactor
ZipWriter::finish()consume theZipWriterβοΈ Miscellaneous Tasks
#![allow(unexpected_cfgs)]in nightlyv1.1.4Compare Source
π Bug Fixes
β‘ Performance
normalized_componentsslightly sooner when not using itpath_to_stringin cases where the path is already in the proper formatβοΈ Miscellaneous Tasks
bzip2-rscan't replacebzip2because it's decompress-onlyv1.1.3Compare Source
π Bug Fixes
v1.1.2Compare Source
π Bug Fixes
π Refactor
deflate-minizfeature since it's now equivalent todeflate(#β35)v1.1.1Compare Source
Added
index_for_name,index_for_path,name_for_index: get the index of a file given its path or vice-versa, withoutinitializing metadata from the local-file header or needing to mutably borrow the
ZipArchive.add_symlink_from_path,shallow_copy_file_from_path,deep_copy_file_from_path,raw_copy_file_to_path: copy afile or create a symlink using
AsRef<Path>argumentsChanged
add_directory_from_pathandstart_file_from_pathare no longer deprecated, and they now normalize..as well as..v1.1.0Added
Changed
AtomicU64type by replacing it withOnceLockin the only place it's used.FileOptionsnow has the subtypeSimpleFileOptionswhich implementsCopybut has no extra data.Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.