Closed vmx closed 2 years ago
Rust anymore as they the features needed are available on more recent stable Rust versions
I don't think this is correct. The current code reveals uninitialized memory which is generally UB. The new method (still unstable) is to use https://doc.rust-lang.org/nightly/std/io/trait.Read.html#method.read_buf.
For now, I'd suggest just initializing a buffer unless nightly is available.
I wanted to many thing at the same time with this PR. This should be split into separate ones:
io::copy()
for stable RustHence I'm closing this issue.
io::copy()
as well as theBufReader
/BufWriter
don't need nightly Rust anymore as they the features needed are available on more recent stable Rust versions. This commit bumps the MSRV to 1.55.Closes #15.