From 969967080e467a716676ba6c30aee13f5ee46652 Mon Sep 17 00:00:00 2001 From: Philipp Schuster Date: Fri, 3 May 2024 11:19:51 +0200 Subject: [PATCH] update MSRV --- .github/workflows/rust.yml | 4 ++-- CHANGELOG.md | 12 ++++++++++++ Cargo.toml | 3 ++- README.md | 7 ++++--- 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ef99322..4be95ef 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,7 +16,7 @@ jobs: rust: - stable - nightly - - 1.63.0 # MSVR + - 1.76.0 # MSVR steps: - uses: actions/checkout@v2 - name: Setup Rust toolchain @@ -41,7 +41,7 @@ jobs: strategy: matrix: rust: - - 1.63.0 + - stable steps: - uses: actions/checkout@v2 - name: Setup Rust toolchain diff --git a/CHANGELOG.md b/CHANGELOG.md index 0db0ec1..a0443f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# v0.3.0 (2024-05-03) +- MSRV is now 1.76 stable +- added support for more Tar archives + - 256 character long filename support (prefix + name) + - add support for space terminated numbers + - non-null terminated names + - iterate over directories: read regular files from directories + - more info: +- `TarArchive[Ref]::new` now returns a result +- added `unstable` feature with enhanced functionality for `nightly` compilers + - error types implement `core::error::Error` + # v0.2.0 (2023-04-11) - MSRV is 1.60.0 - bitflags bump: 1.x -> 2.x diff --git a/Cargo.toml b/Cargo.toml index 1fb4c1b..b13792d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ as GNU Longname. The maximum supported file name length is 256 characters exclud (using the tar name/prefix longname implementation).The maximum supported file size is 8GiB. Directories are supported, but only regular fields are yielded in iteration. """ -version = "0.2.0" +version = "0.3.0" edition = "2021" keywords = ["tar", "tarball", "archive"] categories = ["data-structures", "no-std", "parser-implementations"] @@ -16,6 +16,7 @@ license = "MIT" homepage = "https://github.com/phip1611/tar-no-std" repository = "https://github.com/phip1611/tar-no-std" documentation = "https://docs.rs/tar-no-std" +rust-version = "1.76.0" # required because "env_logger" uses "log" but with dependency to std.. resolver = "2" diff --git a/README.md b/README.md index 79d1b99..eb75e5f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # `tar-no-std` - Parse Tar Archives (Tarballs) _Due to historical reasons, there are several formats of tar archives. All of them are based on the same principles, -but have some subtle differences that often make them incompatible with each other._ [[0]] +but have some subtle differences that often make them incompatible with each other._ [0] Library to read Tar archives (by GNU Tar) in `no_std` contexts with zero allocations. If you have a standard environment and need full feature support, I recommend the use of instead. @@ -52,7 +52,8 @@ If your tar file is compressed, e.g. by `.tar.gz`/`gzip`, you need to uncompress bytes. ## MSRV -The MSRV is 1.52.1 stable. +The MSRV is 1.76.0 stable. -[0]: https://www.gnu.org/software/tar/manual/html_section/Formats.html +## References +[0]\: https://www.gnu.org/software/tar/manual/html_section/Formats.html