Commit 42a7e545 authored by David Brown's avatar David Brown Committed by Andrzej Puzdrowski
Browse files

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: default avatarDavid Brown <david.brown@linaro.org>
parent a7d34caa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
name = "bootsim"
version = "0.1.0"
authors = ["David Brown <davidb@davidb.org>"]
edition = "2018"
edition = "2021"

[features]
default = []
+1 −1
Original line number Diff line number Diff line
@@ -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.
+1 −1
Original line number Diff line number Diff line
@@ -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"