diff --git a/rust/hg-core/Cargo.toml b/rust/hg-core/Cargo.toml --- a/rust/hg-core/Cargo.toml +++ b/rust/hg-core/Cargo.toml @@ -3,7 +3,7 @@ name = "hg-core" version = "0.1.0" authors = ["Georges Racinet "] description = "Mercurial pure Rust core library, with no assumption on Python bindings (FFI)" -edition = "2018" +edition = "2021" [lib] name = "hg" diff --git a/rust/hg-cpython/Cargo.toml b/rust/hg-cpython/Cargo.toml --- a/rust/hg-cpython/Cargo.toml +++ b/rust/hg-cpython/Cargo.toml @@ -2,7 +2,7 @@ name = "hg-cpython" version = "0.1.0" authors = ["Georges Racinet "] -edition = "2018" +edition = "2021" [lib] name='rusthg' diff --git a/rust/rhg/Cargo.toml b/rust/rhg/Cargo.toml --- a/rust/rhg/Cargo.toml +++ b/rust/rhg/Cargo.toml @@ -5,7 +5,7 @@ authors = [ "Antoine Cezar ", "Raphaël Gomès ", ] -edition = "2018" +edition = "2021" [dependencies] atty = "0.2.14"