From c6ae5dcfa9028c228006604cfc5f5eaaee9f1725 Mon Sep 17 00:00:00 2001 From: raphaelrobert Date: Tue, 30 May 2023 09:48:49 +0200 Subject: [PATCH] Upgrade all crates to 2021 edition (#1394) --- cli/Cargo.toml | 2 +- delivery-service/ds-lib/Cargo.toml | 2 +- fuzz/Cargo.toml | 2 +- memory_keystore/Cargo.toml | 2 +- openmls_rust_crypto/Cargo.toml | 2 +- rustfmt.toml | 2 +- traits/Cargo.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index c4e02e6786..6b4cebd448 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ name = "cli" version = "0.1.0" authors = ["OpenMLS Authors"] -edition = "2018" +edition = "2021" [dependencies] url = "2.2" diff --git a/delivery-service/ds-lib/Cargo.toml b/delivery-service/ds-lib/Cargo.toml index 74b4734894..185f9611ef 100644 --- a/delivery-service/ds-lib/Cargo.toml +++ b/delivery-service/ds-lib/Cargo.toml @@ -2,7 +2,7 @@ name = "ds-lib" version = "0.1.0" authors = ["OpenMLS Authors"] -edition = "2018" +edition = "2021" description = "Types to interact with the OpenMLS DS." [dependencies] diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index fc987d6573..85780c7d68 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -3,7 +3,7 @@ name = "openmls-fuzz" version = "0.0.0" authors = ["Automatically generated"] publish = false -edition = "2018" +edition = "2021" [package.metadata] cargo-fuzz = true diff --git a/memory_keystore/Cargo.toml b/memory_keystore/Cargo.toml index 6919386828..1cc2b43169 100644 --- a/memory_keystore/Cargo.toml +++ b/memory_keystore/Cargo.toml @@ -2,7 +2,7 @@ name = "openmls_memory_keystore" authors = ["OpenMLS Authors"] version = "0.1.0" -edition = "2018" +edition = "2021" description = "A very basic key store for OpenMLS implementing openmls_traits." license = "MIT" documentation = "https://docs.rs/openmls_memory_keystore" diff --git a/openmls_rust_crypto/Cargo.toml b/openmls_rust_crypto/Cargo.toml index 8294aeec55..799bb05c12 100644 --- a/openmls_rust_crypto/Cargo.toml +++ b/openmls_rust_crypto/Cargo.toml @@ -2,7 +2,7 @@ name = "openmls_rust_crypto" authors = ["OpenMLS Authors"] version = "0.1.0" -edition = "2018" +edition = "2021" description = "A crypto backend for OpenMLS implementing openmls_traits using RustCrypto primitives." license = "MIT" documentation = "https://docs.rs/openmls_rust_crypto" diff --git a/rustfmt.toml b/rustfmt.toml index bfe1bd58d6..c5690062dd 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,3 +1,3 @@ wrap_comments = true -edition = "2018" +edition = "2021" format_code_in_doc_comments = true diff --git a/traits/Cargo.toml b/traits/Cargo.toml index 607aae1141..af8c8fede2 100644 --- a/traits/Cargo.toml +++ b/traits/Cargo.toml @@ -2,7 +2,7 @@ name = "openmls_traits" version = "0.1.0" authors = ["OpenMLS Authors"] -edition = "2018" +edition = "2021" description = "Traits used by OpenMLS" license = "MIT" documentation = "https://docs.rs/openmls_traits"