summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyqsimon <28627918+cyqsimon@users.noreply.github.com>2023-10-31 11:54:06 +0800
committerGitHub <noreply@github.com>2023-10-31 04:54:06 +0100
commit4b33093f9ef252dee437ee753987210a86efc40d (patch)
tree85e61ff9bb8af54719d992e4b6b3ed8b5c846d65
parent3d87b25b190e0990e0e75a2ab8f994d6c277d263 (diff)
Bump edition to 2021 (#2748)
-rw-r--r--CHANGELOG.md2
-rw-r--r--Cargo.toml2
2 files changed, 3 insertions, 1 deletions
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]