From 56a62ac3b4b2b8e123b1c4578aefa9129f8dac28 Mon Sep 17 00:00:00 2001 From: Daniel Eades Date: Sun, 25 Aug 2024 10:03:13 +0100 Subject: [PATCH] move to 2021 edition --- Cargo.toml | 3 +++ mavlink-bindgen/Cargo.toml | 2 +- mavlink-core/Cargo.toml | 2 +- mavlink/Cargo.toml | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 65e9ef8b1d..064abc84b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,3 +8,6 @@ num-traits = { version = "0.2", default-features = false } num-derive = "0.3.2" bitflags = "1.2.1" byteorder = { version = "1.3.4", default-features = false } + +[workspace.package] +edition = "2021" diff --git a/mavlink-bindgen/Cargo.toml b/mavlink-bindgen/Cargo.toml index 4a6e365f7d..f34d44ab1d 100644 --- a/mavlink-bindgen/Cargo.toml +++ b/mavlink-bindgen/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "mavlink-bindgen" version = "0.13.2" -edition = "2021" +edition.workspace = true license = "MIT/Apache-2.0" description = "Library used by rust-mavlink." readme = "README.md" diff --git a/mavlink-core/Cargo.toml b/mavlink-core/Cargo.toml index 8883a15ded..246c657537 100644 --- a/mavlink-core/Cargo.toml +++ b/mavlink-core/Cargo.toml @@ -13,7 +13,7 @@ description = "Implements the MAVLink data interchange format for UAVs." readme = "../README.md" license = "MIT/Apache-2.0" repository = "https://github.com/mavlink/rust-mavlink" -edition = "2018" +edition.workspace = true rust-version = "1.65.0" [dependencies] diff --git a/mavlink/Cargo.toml b/mavlink/Cargo.toml index 597a6c756b..46896b017c 100644 --- a/mavlink/Cargo.toml +++ b/mavlink/Cargo.toml @@ -15,7 +15,7 @@ description = "Implements the MAVLink data interchange format for UAVs." readme = "../README.md" license = "MIT/Apache-2.0" repository = "https://github.com/mavlink/rust-mavlink" -edition = "2018" +edition.workspace = true rust-version = "1.65.0" [build-dependencies]