Hi all,
I'm pleased to announce the release of version 1.3.0 of buffered-reader, an enhanced version of the `BufRead` trait from Rust's standard library.
https://doc.rust-lang.org/stable/std/io/trait.BufRead.html
I have published buffered-reader on crates.io:
https://crates.io/crates/buffered-reader
You can also fetch version 1.3.0 using the buffered-reader/v1.3.0 tag:
https://gitlab.com/sequoia-pgp/sequoia/-/tags/buffered-reader/v1.3.0
which I signed:
$ git verify-tag buffered-reader/v1.3.0 gpg: Signature made Thu Oct 26 17:05:24 2023 +02:00 gpg: using RSA key C03FA6411B03AE12576461187223B56678E02528 gpg: Good signature from "Neal H. Walfield neal@walfield.org" [ultimate] gpg: "Neal H. Walfield neal@gnupg.org" gpg: "Neal H. Walfield neal@pep-project.org" gpg: "Neal H. Walfield neal@pep.foundation" gpg: "Neal H. Walfield neal@sequoia-pgp.org"
This release includes two new constructors, `File::new` and `File::new_with_cookie`, which wrap `std::fs::File`. These interfaces allow for some low-level manipulation of the File object before it is wrapped. For instance, it is possible to stat(2) the file to get the file size, or to implement metadata-based caching. For more details, please see:
https://docs.rs/buffered-reader/1.3.0/buffered_reader/struct.File.html#metho...
Neal on behalf of the whole Sequoia PGP team