sim: Migrate to Rust 2021 edition

Change the edition in the various Cargo.toml to 2021.  There are no
changes to the code needed for this.  This will require Rust 1.56 in
order to build.

Signed-off-by: David Brown <david.brown@linaro.org>
This commit is contained in:
David Brown 2022-04-08 17:20:22 -06:00 committed by Andrzej Puzdrowski
parent a7d34caaa7
commit 42a7e545bf
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
name = "bootsim"
version = "0.1.0"
authors = ["David Brown <davidb@davidb.org>"]
edition = "2018"
edition = "2021"
[features]
default = []

View File

@ -5,7 +5,7 @@ authors = ["David Brown <david.brown@linaro.org>"]
description = "A simple wrapper around the mcuboot code."
build = "build.rs"
publish = false
edition = "2018"
edition = "2021"
[features]
# By default, build with simplistic signature verification.

View File

@ -2,7 +2,7 @@
name = "simflash"
version = "0.1.0"
authors = ["David Brown <david.brown@linaro.org>"]
edition = "2018"
edition = "2021"
[dependencies]
rand = "0.7"