Compare commits

...

2 commits

Author SHA1 Message Date
2f2d8813a0
chore(release): release artifactview v0.4.6 2024-07-28 18:12:09 +02:00
ThetaBot
a70a7374ce chore(deps): update rust crate zip to v2 (#9)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [zip](https://github.com/zip-rs/zip2) | dev-dependencies | major | `0.6.3` -> `2.0.0` |

---

### Release Notes

<details>
<summary>zip-rs/zip2 (zip)</summary>

### [`v2.1.3`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#213---2024-06-04)

[Compare Source](https://github.com/zip-rs/zip2/compare/v2.1.2...v2.1.3)

##### <!-- 1 -->🐛 Bug Fixes

-   Some date/time filters were previously unreliable (i.e. later-pass filters had no earliest-pass or latest-fail, and vice-versa)
-   Decode Zip-Info UTF8 name and comment fields ([#&#8203;159](https://github.com/zip-rs/zip2/pull/159))

##### <!-- 2 -->🚜 Refactor

-   Return extended timestamp fields copied rather than borrowed ([#&#8203;183](https://github.com/zip-rs/zip2/pull/183))

##### <!-- 7 -->⚙️ Miscellaneous Tasks

-   Fix a new Clippy warning
-   Fix a bug and inline `deserialize` for safety
-   Add check for wrong-length blocks, and incorporate fixed-size requirement into the trait name
-   Fix a fuzz failure by using checked_sub
-   Add feature gate for new unit test

### [`v2.1.2`](https://github.com/zip-rs/zip2/releases/tag/v2.1.2)

[Compare Source](https://github.com/zip-rs/zip2/compare/v2.1.1...v2.1.2)

##### <!-- 1 -->🐛 Bug Fixes

-   Derive `Debug` for `ZipWriter`
-   lower default version to 4.5 and use the version-needed-to-extract where feasible.

##### <!-- 2 -->🚜 Refactor

-   use a MIN_VERSION constant

##### <!-- 7 -->⚙️ Miscellaneous Tasks

-   Bug fixes for debug implementation
-   Bug fixes for debug implementation
-   Update unit tests
-   Remove unused import

### [`v2.1.1`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#211---2024-05-28)

[Compare Source](https://github.com/zip-rs/zip2/compare/v2.1.0...v2.1.1)

##### <!-- 1 -->🐛 Bug Fixes

-   Derive `Debug` for `ZipWriter`
-   lower default version to 4.5 and use the version-needed-to-extract where feasible.

##### <!-- 2 -->🚜 Refactor

-   use a MIN_VERSION constant

##### <!-- 7 -->⚙️ Miscellaneous Tasks

-   Bug fixes for debug implementation
-   Bug fixes for debug implementation
-   Update unit tests
-   Remove unused import

### [`v2.1.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#210---2024-05-25)

[Compare Source](https://github.com/zip-rs/zip2/compare/v2.0.0...v2.1.0)

##### <!-- 0 -->🚀 Features

-   Support mutual conversion between `DateTime` and MS-DOS pair

##### <!-- 1 -->🐛 Bug Fixes

-   version-needed-to-extract was incorrect in central header, and version-made-by could be lower than that ([#&#8203;100](https://github.com/zip-rs/zip2/pull/100))
-   version-needed-to-extract was incorrect in central header, and version-made-by could be lower than that ([#&#8203;100](https://github.com/zip-rs/zip2/pull/100))

##### <!-- 7 -->⚙️ Miscellaneous Tasks

-   Another tweak to ensure `version_needed` is applied
-   Tweaks to make `version_needed` and `version_made_by` work with recently-merged changes

### [`v2.0.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#200---2024-05-24)

[Compare Source](https://github.com/zip-rs/zip2/compare/v1.3.1...v2.0.0)

##### <!-- 0 -->🚀 Features

-   Add `fmt::Display` for `DateTime`
-   Implement more traits for `DateTime`

##### <!-- 2 -->🚜 Refactor

-   Change type of `last_modified_time` to `Option<DateTime>`
-   \[**breaking**] Rename `from_msdos` to `from_msdos_unchecked`, make it unsafe, and add `try_from_msdos` ([#&#8203;145](https://github.com/zip-rs/zip2/pull/145))

##### <!-- 7 -->⚙️ Miscellaneous Tasks

-   Continue to accept archives with invalid DateTime, and use `now_utc()` as default only when writing, not reading

### [`v1.3.1`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#131---2024-05-21)

[Compare Source](https://github.com/zip-rs/zip2/compare/v1.3.0...v1.3.1)

##### <!-- 2 -->🚜 Refactor

-   Make `deflate` enable both default implementations
-   Merge the hidden deflate-flate2 flag into the public one
-   Rename \_deflate-non-zopfli to \_deflate-flate2
-   Reject encrypted and using_data_descriptor files slightly faster in read_zipfile_from_stream
-   Convert `impl TryInto<NaiveDateTime> for DateTime` to `impl TryFrom<DateTime> for NaiveDateTime` ([#&#8203;136](https://github.com/zip-rs/zip2/pull/136))

##### <!-- 4 --> Performance

-   Change default compression implementation to `flate2/zlib-ng`

##### <!-- 7 -->⚙️ Miscellaneous Tasks

-   chore([#&#8203;132](https://github.com/zip-rs/zip2/pull/132)): Attribution for some copied test data
-   chore([#&#8203;133](https://github.com/zip-rs/zip2/pull/133)): chmod -x src/result.rs

### [`v1.3.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#130---2024-05-17)

[Compare Source](https://github.com/zip-rs/zip2/compare/v1.2.3...v1.3.0)

##### <!-- 0 -->🚀 Features

-   Add `is_symlink` method

##### <!-- 1 -->🐛 Bug Fixes

-   Extract symlinks into symlinks on Unix and Windows, and fix a bug that affected making directories writable on MacOS

##### <!-- 2 -->🚜 Refactor

-   Eliminate deprecation warning when `--all-features` implicitly enables the deprecated feature
-   Check if archive contains a symlink's target, without borrowing both at the same time
-   Eliminate a clone that's no longer necessary
-   is_dir only needs to look at the filename
-   Remove unnecessary #\[cfg] attributes

##### <!-- 7 -->⚙️ Miscellaneous Tasks

-   Fix borrow-of-moved-value
-   Box<str> doesn't directly convert to PathBuf, so convert back to String first
-   partial revert - only \&str has chars(), but Box<str> should auto-deref
-   contains_key needs a `Box<str>`, so generify `is_dir` to accept one
-   Add missing `ZipFileData::is_dir()` method
-   Fix another Windows-specific error
-   More bug fixes for Windows-specific symlink code
-   More bug fixes for Windows-specific symlink code
-   Bug fix: variable name change
-   Bug fix: need both internal and output path to determine whether to symlink_dir
-   Another bug fix
-   Fix another error-type conversion error
-   Fix error-type conversion on Windows
-   Fix conditionally-unused import
-   Fix continued issues, and factor out the Vec<u8>-to-OsString conversion (cc: [#&#8203;125](https://github.com/zip-rs/zip2/pull/125))
-   Fix CI failure involving conversion to OsString for symlinks (see my comments on [#&#8203;125](https://github.com/zip-rs/zip2/pull/125))
-   Move path join into platform-independent code

### [`v1.2.3`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#123---2024-05-10)

[Compare Source](https://github.com/zip-rs/zip2/compare/v1.2.2...v1.2.3)

##### <!-- 1 -->🐛 Bug Fixes

-   Remove a window when an extracted directory might be unexpectedly listable and/or `cd`able by non-owners
-   Extract directory contents on Unix even if the directory doesn't have write permission (https://github.com/zip-rs/zip-old/issues/423)

##### <!-- 7 -->⚙️ Miscellaneous Tasks

-   More conditionally-unused imports

### [`v1.2.2`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#122---2024-05-09)

[Compare Source](https://github.com/zip-rs/zip2/compare/v1.2.1...v1.2.2)

##### <!-- 1 -->🐛 Bug Fixes

-   Failed to clear "writing_raw" before finishing a symlink, leading to dropped extra fields

##### <!-- 4 --> Performance

-   Use boxed slice for archive comment, since it can't be concatenated
-   Optimize for the fact that false signatures can't overlap with real ones

### [`v1.2.1`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#121---2024-05-06)

[Compare Source](https://github.com/zip-rs/zip2/compare/v1.2.0...v1.2.1)

##### <!-- 1 -->🐛 Bug Fixes

-   Prevent panic when trying to read a file with an unsupported compression method
-   Prevent panic after reading an invalid LZMA file
-   Make `Stored` the default compression method if `Deflated` isn't available, so that zip files are readable by as much software as possible
-   version_needed was wrong when e.g. cfg(bzip2) but current file wasn't bzip2 ([#&#8203;100](https://github.com/zip-rs/zip2/pull/100))
-   file paths shouldn't start with slashes ([#&#8203;102](https://github.com/zip-rs/zip2/pull/102))

##### <!-- 2 -->🚜 Refactor

-   Overhaul `impl Arbitrary for FileOptions`
-   Remove unused `atomic` module

### [`v1.2.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#120---2024-05-06)

[Compare Source](https://github.com/zip-rs/zip2/compare/v1.1.4...v1.2.0)

##### <!-- 0 -->🚀 Features

-   Add method `decompressed_size()` so non-recursive ZIP bombs can be detected

##### <!-- 2 -->🚜 Refactor

-   Make `ZipWriter::finish()` consume the `ZipWriter`

##### <!-- 7 -->⚙️ Miscellaneous Tasks

-   Use panic! rather than abort to ensure the fuzz harness can process the failure
-   Update fuzz_write to use replace_with
-   Remove a drop that can no longer be explicit
-   Add `#![allow(unexpected_cfgs)]` in nightly

### [`v1.1.4`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#114---2024-05-04)

[Compare Source](https://github.com/zip-rs/zip2/compare/v1.1.3...v1.1.4)

##### <!-- 1 -->🐛 Bug Fixes

-   Build was failing with bzip2 enabled
-   use is_dir in more places where Windows paths might be handled incorrectly

##### <!-- 4 --> 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_components` slightly sooner when not using it
-   Speed up `path_to_string` in cases where the path is already in the proper format

##### <!-- 7 -->⚙️ 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

##### <!-- 9 -->◀️ Revert

-   [#&#8203;58](https://github.com/zip-rs/zip2/pull/58) (partial): `bzip2-rs` can't replace `bzip2` because it's decompress-only

### [`v1.1.3`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#113---2024-04-30)

[Compare Source](https://github.com/zip-rs/zip2/compare/v1.1.2...v1.1.3)

##### <!-- 1 -->🐛 Bug Fixes

-   Rare bug where find_and_parse would give up prematurely on detecting a false end-of-CDR header

### [`v1.1.2`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#112---2024-04-28)

[Compare Source](https://github.com/zip-rs/zip2/compare/1.1.1...v1.1.2)

##### <!-- 1 -->🐛 Bug Fixes

-   Alignment was previously handled incorrectly ([#&#8203;33](https://github.com/Pr0methean/zip/pull/33))

##### <!-- 2 -->🚜 Refactor

-   deprecate `deflate-miniz` feature since it's now equivalent to `deflate` ([#&#8203;35](https://github.com/Pr0methean/zip/pull/35))

### [`v1.1.1`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#111)

[Compare Source](https://github.com/zip-rs/zip2/compare/1.1.0...1.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 the `ZipArchive`.
-   `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 using `AsRef<Path>` arguments

##### Changed

-   `add_directory_from_path` and `start_file_from_path` are no longer deprecated, and they now normalize `..` as well as
    `.`.

### [`v1.1.0`](https://github.com/zip-rs/zip2/blob/HEAD/CHANGELOG.md#110)

##### Added

-   Support for decoding LZMA.

##### Changed

-   Eliminated a custom `AtomicU64` type by replacing it with `OnceLock` in the only place it's used.
-   `FileOptions` now has the subtype `SimpleFileOptions` which implements `Copy` but has no extra data.

</details>

---

### 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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmN5LXVwZ3JhZGUiXX0=-->

Co-authored-by: Renovate Bot <forgejo-renovate-action@forgejo.org>
Co-authored-by: ThetaDev <thetadev@magenta.de>
Reviewed-on: https://codeberg.org/ThetaDev/artifactview/pulls/9
Co-authored-by: ThetaBot <thetabot@noreply.codeberg.org>
Co-committed-by: ThetaBot <thetabot@noreply.codeberg.org>
2024-07-28 16:07:27 +00:00
6 changed files with 226 additions and 147 deletions

View file

@ -3,6 +3,31 @@
All notable changes to this project will be documented in this file.
## [v0.4.6](https://codeberg.org/ThetaDev/artifactview/compare/v0.4.5..v0.4.6) - 2024-07-28
### 🐛 Bug Fixes
- *(deps)* Update rust crate serde_json to v1.0.120 (#14) - ([06f9c27](https://codeberg.org/ThetaDev/artifactview/commit/06f9c278a857a272580ee1c4f8e58078556accda))
- *(deps)* Update rust crate quick_cache to 0.6.0 (#15) - ([2e06266](https://codeberg.org/ThetaDev/artifactview/commit/2e0626667e5fc344df9870cd8c924b9dd60886bb))
- *(deps)* Update rust crate serde to v1.0.204 (#16) - ([1321386](https://codeberg.org/ThetaDev/artifactview/commit/13213861ba0ea30504caa50da2a99af567876e5c))
- *(deps)* Update rust crate quick-xml to 0.36.0 (#19) - ([5f94794](https://codeberg.org/ThetaDev/artifactview/commit/5f94794d24f300762da2ab162f4336508b516eda))
- *(deps)* Update rust crate async-compression to v0.4.12 (#22) - ([88c635c](https://codeberg.org/ThetaDev/artifactview/commit/88c635cbad535eb902ea54a314e8511965a792b4))
- *(deps)* Update rust crate quick-xml to v0.36.1 (#23) - ([c5c9f85](https://codeberg.org/ThetaDev/artifactview/commit/c5c9f85e4baec58dcc2001ac3a7f005c7f501557))
- *(deps)* Update rust crate quick_cache to v0.6.2 (#24) - ([a5d4973](https://codeberg.org/ThetaDev/artifactview/commit/a5d49733fd84ba37e8c258f191bf79f4affb86f9))
- *(deps)* Update rust crate thiserror to v1.0.63 (#25) - ([b67b173](https://codeberg.org/ThetaDev/artifactview/commit/b67b1730b1e9c06b4ff99774c37c71391f48f93a))
- *(deps)* Update rust crate comrak to 0.26.0 (#27) - ([642930d](https://codeberg.org/ThetaDev/artifactview/commit/642930d397efa106267bd2aff8c413ab4173a5c6))
### ⚙️ Miscellaneous Tasks
- *(deps)* Update rust crate axum-test to v15.3.0 (#17) - ([a88f1ba](https://codeberg.org/ThetaDev/artifactview/commit/a88f1ba91c054fdb267f0edef10aacf14a909694))
- *(deps)* Lock file maintenance (#18) - ([f41a922](https://codeberg.org/ThetaDev/artifactview/commit/f41a92243c91086d5d774410b1452303fad64ccf))
- *(deps)* Update rust crate env_logger to v0.11.5 (#20) - ([c9db056](https://codeberg.org/ThetaDev/artifactview/commit/c9db0567916e500017034d6a99eb48a25a1671e0))
- *(deps)* Update rust crate scraper to v0.19.1 (#21) - ([1a5c056](https://codeberg.org/ThetaDev/artifactview/commit/1a5c056204b488e36ef95145b05a674c661a2154))
- *(deps)* Update rust crate tokio to v1.39.1 (#26) - ([057a365](https://codeberg.org/ThetaDev/artifactview/commit/057a365a0ecafe00fa84e53c736272f5db26f0f1))
- *(deps)* Update rust crate tokio to v1.39.2 (#28) - ([3ae7f88](https://codeberg.org/ThetaDev/artifactview/commit/3ae7f8813e19818098a6b67d0c6770db8a79defe))
- *(deps)* Update rust crate zip to v2 (#9) - ([a70a737](https://codeberg.org/ThetaDev/artifactview/commit/a70a7374ced31522debd8f43934bf6971308a0b5))
## [v0.4.5](https://codeberg.org/ThetaDev/artifactview/compare/v0.4.4..v0.4.5) - 2024-07-01
### 🚀 Features

340
Cargo.lock generated
View file

@ -77,9 +77,9 @@ dependencies = [
[[package]]
name = "anstream"
version = "0.6.14"
version = "0.6.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b"
checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526"
dependencies = [
"anstyle",
"anstyle-parse",
@ -92,33 +92,33 @@ dependencies = [
[[package]]
name = "anstyle"
version = "1.0.7"
version = "1.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b"
checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
[[package]]
name = "anstyle-parse"
version = "0.2.4"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4"
checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb"
dependencies = [
"utf8parse",
]
[[package]]
name = "anstyle-query"
version = "1.1.0"
version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391"
checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a"
dependencies = [
"windows-sys 0.52.0",
]
[[package]]
name = "anstyle-wincon"
version = "3.0.3"
version = "3.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19"
checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8"
dependencies = [
"anstyle",
"windows-sys 0.52.0",
@ -130,6 +130,15 @@ version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da"
[[package]]
name = "arbitrary"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110"
dependencies = [
"derive_arbitrary",
]
[[package]]
name = "array-init"
version = "0.0.4"
@ -141,7 +150,7 @@ dependencies = [
[[package]]
name = "artifactview"
version = "0.4.5"
version = "0.4.6"
dependencies = [
"async_zip",
"axum",
@ -206,8 +215,8 @@ dependencies = [
"memchr",
"pin-project-lite",
"xz2",
"zstd 0.13.2",
"zstd-safe 7.2.0",
"zstd",
"zstd-safe",
]
[[package]]
@ -218,7 +227,7 @@ checksum = "6e0c28dcc82d7c8ead5cb13beb15405b57b8546e93215673ff8ca0349a028107"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -388,12 +397,6 @@ version = "0.22.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
[[package]]
name = "base64ct"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"
[[package]]
name = "bincode"
version = "1.3.3"
@ -459,9 +462,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]]
name = "bytes"
version = "1.6.0"
version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9"
checksum = "a12916984aab3fa6e39d655a33e09c0071eb36d6ab3aea5c2d78551f1df6d952"
[[package]]
name = "bzip2"
@ -496,13 +499,12 @@ dependencies = [
[[package]]
name = "cc"
version = "1.0.105"
version = "1.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5208975e568d83b6b05cc0a063c8e7e9acc2b43bee6da15616a5b73e109d7437"
checksum = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f"
dependencies = [
"jobserver",
"libc",
"once_cell",
]
[[package]]
@ -537,9 +539,9 @@ dependencies = [
[[package]]
name = "colorchoice"
version = "1.0.1"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422"
checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0"
[[package]]
name = "comrak"
@ -572,9 +574,9 @@ dependencies = [
[[package]]
name = "constant_time_eq"
version = "0.1.5"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc"
checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2"
[[package]]
name = "convert_case"
@ -617,6 +619,21 @@ dependencies = [
"libc",
]
[[package]]
name = "crc"
version = "3.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636"
dependencies = [
"crc-catalog",
]
[[package]]
name = "crc-catalog"
version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5"
[[package]]
name = "crc32fast"
version = "1.4.2"
@ -662,14 +679,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331"
dependencies = [
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
name = "darling"
version = "0.20.9"
version = "0.20.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "83b2eb4d90d12bdda5ed17de686c2acb4c57914f8f921b8da7e112b5a36f3fe1"
checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989"
dependencies = [
"darling_core",
"darling_macro",
@ -677,27 +694,27 @@ dependencies = [
[[package]]
name = "darling_core"
version = "0.20.9"
version = "0.20.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "622687fe0bac72a04e5599029151f5796111b90f1baaa9b544d807a5e31cd120"
checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5"
dependencies = [
"fnv",
"ident_case",
"proc-macro2",
"quote",
"strsim",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
name = "darling_macro"
version = "0.20.9"
version = "0.20.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "733cabb43482b1a1b53eee8583c2b9e8684d592215ea83efd305dd31bc2f0178"
checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806"
dependencies = [
"darling_core",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -715,9 +732,9 @@ dependencies = [
[[package]]
name = "deflate64"
version = "0.1.8"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "83ace6c86376be0b6cdcf3fb41882e81d94b31587573d1cfa9d01cd06bba210d"
checksum = "da692b8d1080ea3045efaab14434d40468c3d8657e42abddfffca87b428f4c1b"
[[package]]
name = "deranged"
@ -729,6 +746,17 @@ dependencies = [
"serde",
]
[[package]]
name = "derive_arbitrary"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.72",
]
[[package]]
name = "derive_builder"
version = "0.20.0"
@ -747,7 +775,7 @@ dependencies = [
"darling",
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -757,7 +785,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "206868b8242f27cecce124c19fd88157fbd0dd334df2587f36417bafbc85097b"
dependencies = [
"derive_builder_core",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -770,7 +798,7 @@ dependencies = [
"proc-macro2",
"quote",
"rustc_version",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -796,6 +824,17 @@ dependencies = [
"subtle",
]
[[package]]
name = "displaydoc"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.72",
]
[[package]]
name = "dotenvy"
version = "0.15.7"
@ -837,9 +876,9 @@ checksum = "b5320ae4c3782150d900b79807611a59a99fc9a1d61d686faafc24b93fc8d7ca"
[[package]]
name = "env_filter"
version = "0.1.0"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a009aa4810eb158359dda09d0c87378e4bbb89b5a801f016885a4707ba24f7ea"
checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab"
dependencies = [
"log",
"regex",
@ -1006,7 +1045,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -1191,7 +1230,7 @@ dependencies = [
"markup5ever",
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -1218,9 +1257,9 @@ dependencies = [
[[package]]
name = "http-body"
version = "1.0.0"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643"
checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184"
dependencies = [
"bytes",
"http 1.1.0",
@ -1268,9 +1307,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
[[package]]
name = "hyper"
version = "1.4.0"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4fe55fb7a772d59a5ff1dfbff4fe0258d19b89fec4b233e75d35d5d2316badc"
checksum = "50dfd22e0e76d0f662d429a5f80fcaf3855009297eab6a0a9f8543834744ba05"
dependencies = [
"bytes",
"futures-channel",
@ -1421,9 +1460,9 @@ checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3"
[[package]]
name = "is_terminal_polyfill"
version = "1.70.0"
version = "1.70.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800"
checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
[[package]]
name = "itoa"
@ -1433,9 +1472,9 @@ checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
[[package]]
name = "jobserver"
version = "0.1.31"
version = "0.1.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e"
checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0"
dependencies = [
"libc",
]
@ -1502,12 +1541,28 @@ dependencies = [
"scopeguard",
]
[[package]]
name = "lockfree-object-pool"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
[[package]]
name = "log"
version = "0.4.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
[[package]]
name = "lzma-rs"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e"
dependencies = [
"byteorder",
"crc",
]
[[package]]
name = "lzma-sys"
version = "0.1.20"
@ -1663,9 +1718,9 @@ dependencies = [
[[package]]
name = "object"
version = "0.36.1"
version = "0.36.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "081b846d1d56ddfc18fdf1a922e4f6e07a11768ea1b92dec44e42b72712ccfce"
checksum = "3f203fa8daa7bb185f760ae12bd8e097f63d17041dcdcaf675ac54cdf863170e"
dependencies = [
"memchr",
]
@ -1700,9 +1755,9 @@ dependencies = [
[[package]]
name = "openssl"
version = "0.10.64"
version = "0.10.66"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f"
checksum = "9529f4786b70a3e8c61e11179af17ab6188ad8d0ded78c5529441ed39d4bd9c1"
dependencies = [
"bitflags 2.6.0",
"cfg-if",
@ -1721,7 +1776,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -1732,9 +1787,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "openssl-sys"
version = "0.9.102"
version = "0.9.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c597637d56fbc83893a35eb0dd04b2b8e7a50c91e64e9493e398b5df4fb45fa2"
checksum = "7f9e8deee91df40a943c71b917e5874b951d32a802526c85721ce3b776c929d6"
dependencies = [
"cc",
"libc",
@ -1777,17 +1832,6 @@ dependencies = [
"windows-targets 0.52.6",
]
[[package]]
name = "password-hash"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700"
dependencies = [
"base64ct",
"rand_core",
"subtle",
]
[[package]]
name = "path_macro"
version = "1.0.0"
@ -1796,14 +1840,12 @@ checksum = "a6e819bbd49d5939f682638fa54826bf1650abddcd65d000923de8ad63cc7d15"
[[package]]
name = "pbkdf2"
version = "0.11.0"
version = "0.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917"
checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2"
dependencies = [
"digest",
"hmac",
"password-hash",
"sha2",
]
[[package]]
@ -1881,7 +1923,7 @@ dependencies = [
"phf_shared 0.11.2",
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -1919,7 +1961,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -1942,9 +1984,9 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
[[package]]
name = "portable-atomic"
version = "1.6.0"
version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265"
[[package]]
name = "powerfmt"
@ -2091,14 +2133,13 @@ dependencies = [
[[package]]
name = "quinn-udp"
version = "0.5.2"
version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9096629c45860fc7fb143e125eb826b5e721e10be3263160c7d60ca832cf8c46"
checksum = "8bffec3605b73c6f1754535084a85229fa8a30f86014e6c81aeec4abb68b0285"
dependencies = [
"libc",
"once_cell",
"socket2",
"tracing",
"windows-sys 0.52.0",
]
@ -2152,18 +2193,18 @@ dependencies = [
[[package]]
name = "raw-cpuid"
version = "11.0.2"
version = "11.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e29830cbb1290e404f24c73af91c5d8d631ce7e128691e9477556b540cd01ecd"
checksum = "cb9ee317cfe3fbd54b36a511efc1edd42e216903c9cd575e686dd68a2ba90d8d"
dependencies = [
"bitflags 2.6.0",
]
[[package]]
name = "redox_syscall"
version = "0.5.2"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c82cf8cff14456045f55ec4241383baeff27af886adb72ffb2162f99911de0fd"
checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4"
dependencies = [
"bitflags 2.6.0",
]
@ -2299,7 +2340,7 @@ dependencies = [
"regex",
"relative-path",
"rustc_version",
"syn 2.0.69",
"syn 2.0.72",
"unicode-ident",
]
@ -2355,9 +2396,9 @@ dependencies = [
[[package]]
name = "rustls"
version = "0.23.10"
version = "0.23.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05cff451f60db80f490f3c182b77c35260baace73209e9cdbbe526bfe3a4d402"
checksum = "c58f8c84392efc0a126acce10fa59ff7b3d2ac06ab451a33f2741989b806b044"
dependencies = [
"once_cell",
"ring",
@ -2398,9 +2439,9 @@ checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d"
[[package]]
name = "rustls-webpki"
version = "0.102.5"
version = "0.102.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9a6fccd794a42c2c105b513a2f62bc3fd8f3ba57a4593677ceb0bd035164d78"
checksum = "8e6b52d4fda176fd835fdc55a835d4a89b8499cad995885a21149d5ad62f852e"
dependencies = [
"ring",
"rustls-pki-types",
@ -2483,9 +2524,9 @@ dependencies = [
[[package]]
name = "security-framework"
version = "2.11.0"
version = "2.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0"
checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
dependencies = [
"bitflags 2.6.0",
"core-foundation",
@ -2496,9 +2537,9 @@ dependencies = [
[[package]]
name = "security-framework-sys"
version = "2.11.0"
version = "2.11.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7"
checksum = "75da29fe9b9b08fe9d6b22b5b4bcbc75d8db3aa31e639aa56bb62e9d46bfceaf"
dependencies = [
"core-foundation-sys",
"libc",
@ -2568,7 +2609,7 @@ checksum = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -2624,17 +2665,6 @@ dependencies = [
"digest",
]
[[package]]
name = "sha2"
version = "0.10.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
dependencies = [
"cfg-if",
"cpufeatures",
"digest",
]
[[package]]
name = "sharded-slab"
version = "0.1.7"
@ -2654,10 +2684,16 @@ dependencies = [
]
[[package]]
name = "similar"
version = "2.5.0"
name = "simd-adler32"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa42c91313f1d05da9b26f267f931cf178d4aba455b4c4622dd7355eb80c6640"
checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
[[package]]
name = "similar"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1de1d4f81173b03af4c0cbed3c898f6bff5b870e4a7f5d6f4057d62a7a4b686e"
[[package]]
name = "siphasher"
@ -2781,9 +2817,9 @@ dependencies = [
[[package]]
name = "syn"
version = "2.0.69"
version = "2.0.72"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "201fcda3845c23e8212cd466bfebf0bd20694490fc0356ae8e428e0824a915a6"
checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af"
dependencies = [
"proc-macro2",
"quote",
@ -2868,7 +2904,7 @@ checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -2914,9 +2950,9 @@ dependencies = [
[[package]]
name = "tinyvec"
version = "1.7.0"
version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce6b6a2fb3a985e99cebfaefa9faa3024743da73304ca1c683a36429613d3d22"
checksum = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938"
dependencies = [
"tinyvec_macros",
]
@ -2953,7 +2989,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -3065,7 +3101,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -3246,9 +3282,9 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426"
[[package]]
name = "version_check"
version = "0.9.4"
version = "0.9.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
[[package]]
name = "wait-timeout"
@ -3305,7 +3341,7 @@ dependencies = [
"once_cell",
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
"wasm-bindgen-shared",
]
@ -3339,7 +3375,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
@ -3704,7 +3740,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.69",
"syn 2.0.72",
]
[[package]]
@ -3712,34 +3748,62 @@ name = "zeroize"
version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde"
dependencies = [
"zeroize_derive",
]
[[package]]
name = "zeroize_derive"
version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.72",
]
[[package]]
name = "zip"
version = "0.6.6"
version = "2.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261"
checksum = "b895748a3ebcb69b9d38dcfdf21760859a4b0d0b0015277640c2ef4c69640e6f"
dependencies = [
"aes",
"byteorder",
"arbitrary",
"bzip2",
"constant_time_eq",
"crc32fast",
"crossbeam-utils",
"deflate64",
"displaydoc",
"flate2",
"hmac",
"indexmap",
"lzma-rs",
"memchr",
"pbkdf2",
"rand",
"sha1",
"thiserror",
"time",
"zstd 0.11.2+zstd.1.5.2",
"zeroize",
"zopfli",
"zstd",
]
[[package]]
name = "zstd"
version = "0.11.2+zstd.1.5.2"
name = "zopfli"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4"
checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946"
dependencies = [
"zstd-safe 5.0.2+zstd.1.5.2",
"bumpalo",
"crc32fast",
"lockfree-object-pool",
"log",
"once_cell",
"simd-adler32",
]
[[package]]
@ -3748,17 +3812,7 @@ version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcf2b778a664581e31e389454a7072dab1647606d44f7feea22cd5abb9c9f3f9"
dependencies = [
"zstd-safe 7.2.0",
]
[[package]]
name = "zstd-safe"
version = "5.0.2+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db"
dependencies = [
"libc",
"zstd-sys",
"zstd-safe",
]
[[package]]

View file

@ -1,6 +1,6 @@
[package]
name = "artifactview"
version = "0.4.5"
version = "0.4.6"
edition = "2021"
authors = ["ThetaDev <thetadev@magenta.de>"]
license = "MIT"

View file

@ -49,7 +49,7 @@ tokio-util = { version = "0.7", features = ["compat"], optional = true }
tokio = { version = "1", features = ["full"] }
tokio-util = { version = "0.7", features = ["compat"] }
env_logger = "0.11.2"
zip = "0.6.3"
zip = "2.1.5"
# shared across multiple examples
# anyhow = "1"

View file

@ -70,7 +70,7 @@ fn generate_zip64many_zip() -> std::path::PathBuf {
let zip_file = std::fs::File::create(&path).unwrap();
let mut zip = zip::ZipWriter::new(zip_file);
let options = FileOptions::default().compression_method(zip::CompressionMethod::Stored);
let options = FileOptions::<()>::default().compression_method(zip::CompressionMethod::Stored);
for i in 0..2_u32.pow(16) + 1 {
zip.start_file(format!("{i}.txt"), options).unwrap();

View file

@ -36,7 +36,7 @@ async fn test_write_zip64_file() {
let cursor = std::io::Cursor::new(buffer);
let mut zip = zip::read::ZipArchive::new(cursor).unwrap();
let mut file1 = zip.by_name("file1").unwrap();
assert_eq!(file1.extra_data(), &[] as &[u8]);
assert_eq!(file1.extra_data(), Some(&[] as &[u8]));
let mut buffer = Vec::new();
file1.read_to_end(&mut buffer).unwrap();
assert_eq!(buffer.as_slice(), &[0, 0, 0, 0]);