From 844c65cc78e258296f9c71aaf9c4beb891a9b6a5 Mon Sep 17 00:00:00 2001 From: Thom Wiggers Date: Mon, 16 Oct 2023 16:37:55 +0200 Subject: [PATCH] update rust edition --- Cargo.toml | 3 ++- pqcrypto-template/scheme/Cargo.toml.j2 | 2 +- pqcrypto-template/workspace-Cargo.toml.j2 | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b1af8d83..2e0565c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,4 +10,5 @@ members=[ "pqcrypto-dilithium", "pqcrypto-falcon", "pqcrypto-sphincsplus", -] \ No newline at end of file +] +resolver="2" \ No newline at end of file diff --git a/pqcrypto-template/scheme/Cargo.toml.j2 b/pqcrypto-template/scheme/Cargo.toml.j2 index 79826aa3..1e144e7a 100644 --- a/pqcrypto-template/scheme/Cargo.toml.j2 +++ b/pqcrypto-template/scheme/Cargo.toml.j2 @@ -4,7 +4,7 @@ description = "Post-Quantum {% if type == "kem" %}Key-Encapsulation Mechanism{% readme = "README.md" version = "{{ version }}" authors = ["Thom Wiggers "] -edition = "2018" +edition = "2021" license = "MIT OR Apache-2.0" homepage = "https://github.com/rustpq/" repository = "https://github.com/rustpq/pqcrypto/" diff --git a/pqcrypto-template/workspace-Cargo.toml.j2 b/pqcrypto-template/workspace-Cargo.toml.j2 index a9f5c3d9..3922be8b 100644 --- a/pqcrypto-template/workspace-Cargo.toml.j2 +++ b/pqcrypto-template/workspace-Cargo.toml.j2 @@ -8,3 +8,4 @@ members=[ "{{ name }}", {% endfor %} ] +resolver="2"