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]