From 11d2b91215d1bec8455a4fb3820b18998268f24c Mon Sep 17 00:00:00 2001 From: Josh Holmer Date: Sun, 10 Apr 2022 12:46:49 -0400 Subject: [PATCH] Upgrade to edition 2021 (#610) --- Cargo.toml | 2 +- av1an-cli/Cargo.toml | 2 +- av1an-core/Cargo.toml | 2 +- rustfmt.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0d7e007..14ac2e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/master-of-zen/Av1an" keywords = ["video"] categories = ["command-line-utilities"] license = "GPL-3.0" -edition = "2018" +edition = "2021" [[bin]] path = "src/main.rs" diff --git a/av1an-cli/Cargo.toml b/av1an-cli/Cargo.toml index f3740da..8bd1cf8 100644 --- a/av1an-cli/Cargo.toml +++ b/av1an-cli/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/master-of-zen/Av1an" keywords = ["video"] categories = ["command-line-utilities"] license = "GPL-3.0" -edition = "2018" +edition = "2021" [dependencies] atty = "0.2.14" diff --git a/av1an-core/Cargo.toml b/av1an-core/Cargo.toml index 0aa0616..33c9056 100644 --- a/av1an-core/Cargo.toml +++ b/av1an-core/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "av1an-core" version = "0.3.1" -edition = "2018" +edition = "2021" authors = ["Zen "] description = """ Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding [Core library] diff --git a/rustfmt.toml b/rustfmt.toml index 23fc248..2bc17ab 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,2 +1,2 @@ -edition = "2018" +edition = "2021" tab_spaces = 2