From 4b33093f9ef252dee437ee753987210a86efc40d Mon Sep 17 00:00:00 2001 From: cyqsimon <28627918+cyqsimon@users.noreply.github.com> Date: Tue, 31 Oct 2023 11:54:06 +0800 Subject: [PATCH] Bump edition to 2021 (#2748) --- CHANGELOG.md | 2 ++ Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a32a1c55..793f5f5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ ## Other +- Upgrade to Rust 2021 edition #2748 (@cyqsimon) + ## Syntaxes ## Themes diff --git a/Cargo.toml b/Cargo.toml index 5dc3a975..5ffb4091 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/sharkdp/bat" version = "0.24.0" exclude = ["assets/syntaxes/*", "assets/themes/*"] build = "build.rs" -edition = '2018' +edition = '2021' rust-version = "1.70" [features]