astral-tokio-tar
A Rust implementation of an async TAR file reader and writer. This library does not currently handle compression, but it is abstract over all I/O readers and writers. Additionally, great lengths are taken to ensure that the entire contents are never required to be entirely resident in memory all at once.
0.6.4
21M downloads/mo
#2021 most downloaded on crates.io
astral-sh/tokio-tar
What this package is like to depend on
Last release 1 months ago
16 Jul 2026
Release timing varies
gaps range from 2 weeks to 5 months
Nearly every release is documented
notes for 12 of 12 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
13 releases · first in 2025
9 releases in the last 12 months
see the full history below
Release timeline
13 releases · Feb 2025 to Jul 2026Releases
latest 13-
0.6.416 Jul 2026Release notes
Open source →What's Changed
- Bump taiki-e/install-action from 2.77.1 to 2.77.6 in the github-actions group by @dependabot[bot] in #84
- Bump the github-actions group with 2 updates by @dependabot[bot] in #87
- Remove filetime dependency by @woodruffw in #86
- Reduce parsing differentials and reject ambiguous cases by @zanieb in #95
- Bump version to 0.6.3 by @zanieb in #96
- Update rustix dependency from 0.38 to 1.0 by @musicinmybrain in #97
- Bump the github-actions group across 1 directory with 2 updates by @dependabot[bot] in #89
- Use clear instead of truncate(0) by @zaniebot in #102
- Fix nanosecond conversion on 32-bit Unix by @zaniebot in #101
- Align the release workflow with other Astral projects by @zanieb in #103
- Bump version to 0.6.4 by @github-actions[bot] in #104
New Contributors
- @zanieb made their first contribution in #95
- @musicinmybrain made their first contribution in #97
- @zaniebot made their first contribution in #102
- @github-actions[bot] made their first contribution in #104
Full Changelog: v0.6.2...v0.6.4
-
0.6.325 Jun 2026Release notes
Open source →What's Changed
- Remove filetime dependency
- Reject mixed PAX and GNU path metadata
- Reject unterminated PAX records
- Reject mixed PAX and GNU link targets
- Trim GNU long names and links at NUL
- Add a restricted local-PAX input mode
- Parse PAX records by declared length
- Apply PAX owner names to entries
- Apply PAX size overrides to entry headers
- Apply Solaris X metadata only on USTAR carriers
- Report truncated TAR payloads during entry reads
- Reject partial GNU sparse map entries
- Preserve payload access for unknown TAR typeflags
- Reject dangling one-shot TAR extensions
- Reject orphaned GNU sparse PAX metadata
- Reject ambiguous NUL-version USTAR headers
- Require valid carrier classes for TAR extensions
- Require decimal PAX numeric overrides
- Use the last repeated PAX pathname
- Test last-record precedence for PAX owner metadata
- Reject empty local PAX values
- Report sparse data positions after continuation headers
Full Changelog: v0.6.2...v0.6.3
-
0.6.218 May 2026 -
0.6.127 Apr 2026 -
0.6.1-rc130 Mar 2026 pre-releaseRelease notes
Open source →Purely to shake out any issues with #73.
Signed-off-by: William Woodruff [email protected]
-
0.6.016 Mar 2026Release notes
Open source →What's Changed
This release addresses GHSA-6gx3-4362-rf54.
- docs: add security considerations to the README and entry::path documentation by @tomasilluminati in #67
New Contributors
- @tomasilluminati made their first contribution in #67
Full Changelog: v0.5.6...v0.6.0
-
0.5.621 Oct 2025Release notes
Open source →-
Fixed a parser desynchronization vulnerability when reading tar archives that
contain mismatched size information in PAX/ustar headers.This vulnerability is being tracked as GHSA-j5gw-2vrg-8fgx
and CVE-2025-62518.
Release notes
Open source →-
Fixed a parser desynchronization vulnerability when reading tar archives that contain mismatched size information in PAX/ustar headers.
This vulnerability is being tracked as GHSA-j5gw-2vrg-8fgx and CVE-2025-62518.
-
-
0.5.523 Sep 2025Release notes
Open source →- This is a corrective release for 0.5.4 to fix a debugging artifact that
was accidentally left in the release.
Release notes
Open source →- This is a corrective release for 0.5.4 to fix a debugging artifact that was accidentally left in the release.
- This is a corrective release for 0.5.4 to fix a debugging artifact that
-
0.5.423 Sep 2025Release notes
Open source →-
Fixed a path traversal vulnerability when using the
unpack_in_rawAPI
by @charliermarshThis vulnerability is being tracked as GHSA-3wgq-wrwc-vqmv.
Release notes
Open source →-
Fixed a path traversal vulnerability when using the
unpack_in_rawAPI by @charliermarshThis vulnerability is being tracked as GHSA-3wgq-wrwc-vqmv.
-
-
0.5.319 Aug 2025Release notes
Open source →Release v0.5.3 for
astral-sh/uv#15202 (comment). The
Cargo.tomlis already bumped, so we only need update the Changelog.Release notes
Open source →- Expose
TarErrorpublicly by @konstin in https://github.com/astral-sh/tokio-tar/pull/52
- Expose
-
0.5.218 Mar 2025Release notes
Open source →- Enable opt-in to deny creation of symlinks outside target directory by @charliermarsh in https://github.com/astral-sh/tokio-tar/pull/46
-
0.5.109 Feb 2025Release notes
Open source →- Add test to reproduce issue in
impl Stream for Entriescausing filename truncation by @charliermarsh in https://github.com/astral-sh/tokio-tar/pull/41 - Avoid truncation during pending reads by @charliermarsh in https://github.com/astral-sh/tokio-tar/pull/40
- Add test to reproduce issue in
-
0.5.005 Feb 2025Release notes
Open source →- Setting
preserve_permissionstofalsewill avoid setting any permissions on extracted files. Inalexcrichton/tar-rs, settingpreserve_permissionstofalsewill still set read, write, and execute permissions on extracted files, but will avoid setting extended permissions (e.g.,setuid,setgid, andstickybits). - Avoid creating directories outside the unpack target (see:
alexcrichton/tar-rs#259). - Added
unpack_in_rawwhich memoizes the set of validated paths (and assumes a pre-canonicalized) unpack target to avoid redundant filesystem operations.
- Setting