From 1d2c857fb79eec1c970304eabb84943fde067458 Mon Sep 17 00:00:00 2001 From: Sebastian Schildt Date: Sun, 25 Feb 2024 08:35:44 +0100 Subject: [PATCH] Switch to 2021 edition of Rust Signed-off-by: Sebastian Schildt --- Cargo.toml | 2 ++ kuksa_databroker/databroker-cli/Cargo.toml | 2 +- kuksa_databroker/databroker-proto/Cargo.toml | 2 +- kuksa_databroker/databroker/Cargo.toml | 2 +- kuksa_databroker/lib/common/Cargo.toml | 2 +- kuksa_databroker/lib/kuksa/Cargo.toml | 2 +- kuksa_databroker/lib/sdv/Cargo.toml | 2 +- 7 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4de83a83..7e33fe95 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,6 +13,8 @@ [workspace] +resolver = "2" + members = [ "kuksa_databroker/databroker", "kuksa_databroker/databroker-proto", diff --git a/kuksa_databroker/databroker-cli/Cargo.toml b/kuksa_databroker/databroker-cli/Cargo.toml index 340cf7f6..004ea8b8 100644 --- a/kuksa_databroker/databroker-cli/Cargo.toml +++ b/kuksa_databroker/databroker-cli/Cargo.toml @@ -15,7 +15,7 @@ name = "databroker-cli" version = "0.4.1" authors = ["Eclipse KUKSA Project"] -edition = "2018" +edition = "2021" license = "Apache-2.0" [dependencies] diff --git a/kuksa_databroker/databroker-proto/Cargo.toml b/kuksa_databroker/databroker-proto/Cargo.toml index 5957b7ee..87182b84 100644 --- a/kuksa_databroker/databroker-proto/Cargo.toml +++ b/kuksa_databroker/databroker-proto/Cargo.toml @@ -15,7 +15,7 @@ name = "databroker-proto" version = "0.4.1" authors = ["Eclipse KUKSA Project"] -edition = "2018" +edition = "2021" license = "Apache-2.0" [dependencies] diff --git a/kuksa_databroker/databroker/Cargo.toml b/kuksa_databroker/databroker/Cargo.toml index 13de6799..ee4e8515 100644 --- a/kuksa_databroker/databroker/Cargo.toml +++ b/kuksa_databroker/databroker/Cargo.toml @@ -15,7 +15,7 @@ name = "databroker" version = "0.4.1" authors = ["Eclipse KUKSA Project"] -edition = "2018" +edition = "2021" license = "Apache-2.0" [lib] diff --git a/kuksa_databroker/lib/common/Cargo.toml b/kuksa_databroker/lib/common/Cargo.toml index 736074ce..bb2f2be5 100644 --- a/kuksa_databroker/lib/common/Cargo.toml +++ b/kuksa_databroker/lib/common/Cargo.toml @@ -15,7 +15,7 @@ name = "kuksa-common" version = "0.1.0" authors = ["Eclipse KUKSA Project"] -edition = "2018" +edition = "2021" license = "Apache-2.0" [dependencies] diff --git a/kuksa_databroker/lib/kuksa/Cargo.toml b/kuksa_databroker/lib/kuksa/Cargo.toml index 0555d9d0..64196b60 100644 --- a/kuksa_databroker/lib/kuksa/Cargo.toml +++ b/kuksa_databroker/lib/kuksa/Cargo.toml @@ -15,7 +15,7 @@ name = "kuksa" version = "0.1.0" authors = ["Eclipse KUKSA Project"] -edition = "2018" +edition = "2021" license = "Apache-2.0" [dependencies] diff --git a/kuksa_databroker/lib/sdv/Cargo.toml b/kuksa_databroker/lib/sdv/Cargo.toml index 3ba994ae..64b5310e 100644 --- a/kuksa_databroker/lib/sdv/Cargo.toml +++ b/kuksa_databroker/lib/sdv/Cargo.toml @@ -15,7 +15,7 @@ name = "kuksa-sdv" version = "0.1.0" authors = ["Eclipse KUKSA Project"] -edition = "2018" +edition = "2021" license = "Apache-2.0" [dependencies]