Closed mrquantumoff closed 2 years ago
I believe editions' are on a per crate basis. https://doc.rust-lang.org/edition-guide/editions/index.html
I am 99% sure that they are indeed specified per crate, because I use plenty of crates with 2018 edition in my projects that have 2021 edition specified
In future editions of Rust, some parts of the code may get syntax errors, to avoid it I suggest adding the "2021" edition in
Cargo.toml