dsc
dsc copied to clipboard
Update Rust crate zip to v1
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| zip | dependencies | major | 0.6.6 -> 1.0.0 |
Release Notes
zip-rs/zip2 (zip)
v1.1.4
🐛 Bug Fixes
- Build was failing with bzip2 enabled
- use is_dir in more places where Windows paths might be handled incorrectly
⚡ Performance
- Quick filter for paths that contain "/../" or "/./" or start with "./" or "../"
- Fast handling for separator-free paths
- Speed up logic if main separator isn't '/'
- Drop
normalized_componentsslightly sooner when not using it - Speed up
path_to_stringin cases where the path is already in the proper format
⚙️ Miscellaneous Tasks
- Refactor: can short-circuit handling of paths that start with MAIN_SEPARATOR, no matter what MAIN_SEPARATOR is
- Bug fix: non-canonical path detection when MAIN_SEPARATOR is not slash or occurs twice in a row
- Bug fix: must recreate if . or .. is a path element
- Bug fix
◀️ Revert
-
#58 (partial):
bzip2-rscan't replacebzip2because it's decompress-only
v1.1.3
🐛 Bug Fixes
- Rare bug where find_and_parse would give up prematurely on detecting a false end-of-CDR header
v1.1.2
🐛 Bug Fixes
- Alignment was previously handled incorrectly (#33)
🚜 Refactor
- deprecate
deflate-minizfeature since it's now equivalent todeflate(#35)
v1.1.1
Added
-
index_for_name,index_for_path,name_for_index: get the index of a file given its path or vice-versa, without initializing metadata from the local-file header or needing to mutably borrow theZipArchive. -
add_symlink_from_path,shallow_copy_file_from_path,deep_copy_file_from_path,raw_copy_file_to_path: copy a file or create a symlink usingAsRef<Path>arguments
Changed
-
add_directory_from_pathandstart_file_from_pathare no longer deprecated, and they now normalize..as well as..
v1.1.0
Added
- Support for decoding LZMA.
Changed
- Eliminated a custom
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.