Most of the original code in this repo (up to commit 7dd9068b7aa9e21b7c50f737a765d9d6d089a79a) was written around 2017 and 2018, and appears to be compiled under Rust edition 2015.
The changes here adds an explicit edition = "2021" line to the Cargo.toml file, and fixes a couple of compilation errors due to:
Most of the original code in this repo (up to commit 7dd9068b7aa9e21b7c50f737a765d9d6d089a79a) was written around 2017 and 2018, and appears to be compiled under Rust edition 2015.
The changes here adds an explicit
edition = "2021"
line to the Cargo.toml file, and fixes a couple of compilation errors due to:A few 'unused import' warnings have also been fixed, but I haven't fixed all of them yet to keep the diff in this PR small for easier review.