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
->2.0.0
Release Notes
zip-rs/zip2 (zip)
v2.2.0
Compare Source
🚀 Features
ZipArchive::central_directory_start
(#232)v2.1.6
Compare Source
🐛 Bug Fixes
🚜 Refactor
v2.1.5
Compare Source
🚜 Refactor
v2.1.4
Compare Source
🐛 Bug Fixes
deep_copy_file
no longer allows overwriting an existing file, to match the behavior ofshallow_copy_file
merge_archive
,abort_file
anddeep_copy_file
. As well, we now return an error when a file is being copied to itself.Debug
forZipWriter
even 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
c934c82
ok_or_abort_file
, and inline when that fails borrow checkerok_or_abort_file
, and inline when that fails borrow checkerdebug_assert_eq!
v2.1.3
Compare Source
🐛 Bug Fixes
🚜 Refactor
⚙️ Miscellaneous Tasks
deserialize
for safetyv2.1.2
Compare Source
🐛 Bug Fixes
Debug
forZipWriter
🚜 Refactor
⚙️ Miscellaneous Tasks
v2.1.1
Compare Source
🐛 Bug Fixes
Debug
forZipWriter
🚜 Refactor
⚙️ Miscellaneous Tasks
v2.1.0
Compare Source
🚀 Features
DateTime
and MS-DOS pair🐛 Bug Fixes
⚙️ Miscellaneous Tasks
version_needed
is appliedversion_needed
andversion_made_by
work with recently-merged changesv2.0.0
Compare Source
🚀 Features
fmt::Display
forDateTime
DateTime
🚜 Refactor
last_modified_time
toOption<DateTime>
from_msdos
tofrom_msdos_unchecked
, make it unsafe, and addtry_from_msdos
(#145)⚙️ Miscellaneous Tasks
now_utc()
as default only when writing, not readingv1.3.1
Compare Source
🚜 Refactor
deflate
enable both default implementationsimpl TryInto<NaiveDateTime> for DateTime
toimpl TryFrom<DateTime> for NaiveDateTime
(#136)⚡ Performance
flate2/zlib-ng
⚙️ Miscellaneous Tasks
v1.3.0
Compare Source
🚀 Features
is_symlink
method🐛 Bug Fixes
🚜 Refactor
--all-features
implicitly enables the deprecated feature⚙️ Miscellaneous Tasks
Box<str>
, so generifyis_dir
to accept oneZipFileData::is_dir()
methodv1.2.3
Compare Source
🐛 Bug Fixes
cd
able by non-owners⚙️ Miscellaneous Tasks
v1.2.2
Compare Source
🐛 Bug Fixes
⚡ Performance
v1.2.1
Compare Source
🐛 Bug Fixes
Stored
the default compression method ifDeflated
isn't available, so that zip files are readable by as much software as possible🚜 Refactor
impl Arbitrary for FileOptions
atomic
modulev1.2.0
Compare 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.4
Compare Source
🐛 Bug Fixes
⚡ Performance
normalized_components
slightly sooner when not using itpath_to_string
in cases where the path is already in the proper format⚙️ Miscellaneous Tasks
bzip2-rs
can't replacebzip2
because it's decompress-onlyv1.1.3
Compare Source
🐛 Bug Fixes
v1.1.2
Compare Source
🐛 Bug Fixes
🚜 Refactor
deflate-miniz
feature since it's now equivalent todeflate
(#35)v1.1.1
Compare 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_path
andstart_file_from_path
are no longer deprecated, and they now normalize..
as well as.
.v1.1.0
Added
Changed
AtomicU64
type by replacing it withOnceLock
in the only place it's used.FileOptions
now has the subtypeSimpleFileOptions
which implementsCopy
but 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.