Bump edition to 2021 (#2748)

This commit is contained in:
cyqsimon 2023-10-31 11:54:06 +08:00 committed by GitHub
parent 3d87b25b19
commit 4b33093f9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@
## Other ## Other
- Upgrade to Rust 2021 edition #2748 (@cyqsimon)
## Syntaxes ## Syntaxes
## Themes ## Themes

View File

@ -9,7 +9,7 @@ repository = "https://github.com/sharkdp/bat"
version = "0.24.0" version = "0.24.0"
exclude = ["assets/syntaxes/*", "assets/themes/*"] exclude = ["assets/syntaxes/*", "assets/themes/*"]
build = "build.rs" build = "build.rs"
edition = '2018' edition = '2021'
rust-version = "1.70" rust-version = "1.70"
[features] [features]