changeset 49630:1b6be761c23d

rust: move all crates in the main workspace to edition 2021 We've changed our minimum Rust version to 1.61.0 in the previous patch, and edition 2021 predates that version.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 14 Nov 2022 15:19:27 +0100
parents eb383f093a01
children c7fb9b74e753
files rust/hg-core/Cargo.toml rust/hg-cpython/Cargo.toml rust/rhg/Cargo.toml
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rust/hg-core/Cargo.toml	Thu Oct 20 12:26:57 2022 +0200
+++ b/rust/hg-core/Cargo.toml	Mon Nov 14 15:19:27 2022 +0100
@@ -3,7 +3,7 @@
 version = "0.1.0"
 authors = ["Georges Racinet <gracinet@anybox.fr>"]
 description = "Mercurial pure Rust core library, with no assumption on Python bindings (FFI)"
-edition = "2018"
+edition = "2021"
 
 [lib]
 name = "hg"
--- a/rust/hg-cpython/Cargo.toml	Thu Oct 20 12:26:57 2022 +0200
+++ b/rust/hg-cpython/Cargo.toml	Mon Nov 14 15:19:27 2022 +0100
@@ -2,7 +2,7 @@
 name = "hg-cpython"
 version = "0.1.0"
 authors = ["Georges Racinet <gracinet@anybox.fr>"]
-edition = "2018"
+edition = "2021"
 
 [lib]
 name='rusthg'
--- a/rust/rhg/Cargo.toml	Thu Oct 20 12:26:57 2022 +0200
+++ b/rust/rhg/Cargo.toml	Mon Nov 14 15:19:27 2022 +0100
@@ -5,7 +5,7 @@
     "Antoine Cezar <antoine.cezar@octobus.net>",
     "Raphaël Gomès <raphael.gomes@octobus.net>",
 ]
-edition = "2018"
+edition = "2021"
 
 [dependencies]
 atty = "0.2.14"