mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-23 08:34:18 +02:00
Upgrade to 2021 edition of Rust
To do so, we need to bump the MSRV to 1.56 (released 10/2021). While at it, I actually bumped it all the way to 1.62, where the latest version, (1.62.1) has been released on July 19, which is just more than one month ago. Additionally, I removed `clippy.toml` and instead specified the MSRV in `Cargo.toml`. This will also print an error when trying to compile with an older compiler.
This commit is contained in:
parent
e94ee92db4
commit
db492bc0cf
3 changed files with 3 additions and 3 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||
rust: ['1.54', stable]
|
||||
rust: ['1.62', stable]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@ repository = "https://github.com/dbrgn/tealdeer/"
|
|||
documentation = "https://dbrgn.github.io/tealdeer/"
|
||||
version = "1.5.0"
|
||||
include = ["/src/**/*", "/tests/**/*", "/Cargo.toml", "/README.md", "/LICENSE-*", "/screenshot.png"]
|
||||
edition = "2018"
|
||||
rust-version = "1.62"
|
||||
edition = "2021"
|
||||
|
||||
[[bin]]
|
||||
name = "tldr"
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
msrv = "1.54"
|
||||
Loading…
Add table
Add a link
Reference in a new issue