From 30243d02004810a586b502ddb46f992668679e63 Mon Sep 17 00:00:00 2001 From: John Adler Date: Fri, 4 Mar 2022 08:52:13 -0500 Subject: [PATCH] Update to Rust 2021 edition. --- docs/book.toml | 2 +- forc/Cargo.toml | 2 +- sway-core/Cargo.toml | 2 +- sway-fmt/Cargo.toml | 2 +- sway-server/Cargo.toml | 2 +- sway-types/Cargo.toml | 2 +- test/Cargo.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/book.toml b/docs/book.toml index 3bd274fc9a5..85c0aaf6bbb 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -9,4 +9,4 @@ title = "The Sway Programming Language" git-repository-url = "https://github.com/FuelLabs/sway" [rust] -edition = "2018" +edition = "2021" diff --git a/forc/Cargo.toml b/forc/Cargo.toml index f0e858a000b..67754574ba7 100644 --- a/forc/Cargo.toml +++ b/forc/Cargo.toml @@ -2,7 +2,7 @@ name = "forc" version = "0.5.0" authors = ["Fuel Labs "] -edition = "2018" +edition = "2021" homepage = "https://fuel.network/" license = "Apache-2.0" repository = "https://github.com/FuelLabs/sway" diff --git a/sway-core/Cargo.toml b/sway-core/Cargo.toml index 9cf6c8afda0..26d286c6431 100644 --- a/sway-core/Cargo.toml +++ b/sway-core/Cargo.toml @@ -2,7 +2,7 @@ name = "sway-core" version = "0.5.0" authors = ["Fuel Labs "] -edition = "2018" +edition = "2021" homepage = "https://fuel.network/" license = "Apache-2.0" repository = "https://github.com/FuelLabs/sway" diff --git a/sway-fmt/Cargo.toml b/sway-fmt/Cargo.toml index cdede4eede9..25edcbb1983 100644 --- a/sway-fmt/Cargo.toml +++ b/sway-fmt/Cargo.toml @@ -2,7 +2,7 @@ name = "sway-fmt" version = "0.5.0" authors = ["Fuel Labs "] -edition = "2018" +edition = "2021" homepage = "https://fuel.network/" license = "Apache-2.0" repository = "https://github.com/FuelLabs/sway" diff --git a/sway-server/Cargo.toml b/sway-server/Cargo.toml index cd4d00f2845..261e97e923b 100644 --- a/sway-server/Cargo.toml +++ b/sway-server/Cargo.toml @@ -2,7 +2,7 @@ name = "sway-server" version = "0.5.0" authors = ["Fuel Labs "] -edition = "2018" +edition = "2021" homepage = "https://fuel.network/" license = "Apache-2.0" repository = "https://github.com/FuelLabs/sway" diff --git a/sway-types/Cargo.toml b/sway-types/Cargo.toml index aed8dab645c..7868102fb8e 100644 --- a/sway-types/Cargo.toml +++ b/sway-types/Cargo.toml @@ -2,7 +2,7 @@ name = "sway-types" version = "0.5.0" authors = ["Fuel Labs "] -edition = "2018" +edition = "2021" homepage = "https://fuel.network/" license = "Apache-2.0" repository = "https://github.com/FuelLabs/sway" diff --git a/test/Cargo.toml b/test/Cargo.toml index 51208717b5d..30c774a778b 100644 --- a/test/Cargo.toml +++ b/test/Cargo.toml @@ -2,7 +2,7 @@ name = "test" version = "0.0.0" authors = ["Fuel Labs "] -edition = "2018" +edition = "2021" publish = false [dependencies]