mirror of
https://github.com/alacritty/alacritty.git
synced 2025-06-02 18:42:15 -04:00
Bump MSRV to 1.81.0
Also use workspace to specify that.
This commit is contained in:
parent
00a516abc7
commit
1fb1fd225e
9 changed files with 19 additions and 11 deletions
|
@ -24,7 +24,7 @@ tasks:
|
|||
cargo test
|
||||
- oldstable: |
|
||||
cd alacritty
|
||||
oldstable=$(cat alacritty/Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/')
|
||||
oldstable=$(cat Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/')
|
||||
rustup toolchain install --profile minimal $oldstable
|
||||
rustup default $oldstable
|
||||
cargo test
|
||||
|
|
|
@ -34,7 +34,7 @@ tasks:
|
|||
cargo test
|
||||
- oldstable: |
|
||||
cd alacritty
|
||||
oldstable=$(cat alacritty/Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/')
|
||||
oldstable=$(cat Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/')
|
||||
rustup toolchain install --profile minimal $oldstable
|
||||
rustup default $oldstable
|
||||
cargo test
|
||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
|||
run: cargo test -p alacritty_terminal --no-default-features
|
||||
- name: Oldstable
|
||||
run: |
|
||||
rustup default $(cat alacritty/Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/')
|
||||
rustup default $(cat Cargo.toml | grep "rust-version" | sed 's/.*"\(.*\)".*/\1/')
|
||||
cargo test
|
||||
- name: Clippy
|
||||
run: |
|
||||
|
|
|
@ -10,6 +10,10 @@ Notable changes to the `alacritty_terminal` crate are documented in its
|
|||
|
||||
## 0.16.0-dev
|
||||
|
||||
### Packaging
|
||||
|
||||
- Minimum Rust version has been bumped to 1.81.0
|
||||
|
||||
### Added
|
||||
|
||||
- Vi motions `*`, `#`, `{`, and `}`
|
||||
|
|
|
@ -7,6 +7,10 @@ members = [
|
|||
]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
edition = "2021"
|
||||
rust-version = "1.81.0"
|
||||
|
||||
[profile.release]
|
||||
lto = "thin"
|
||||
debug = 1
|
||||
|
|
|
@ -7,8 +7,8 @@ description = "A fast, cross-platform, OpenGL terminal emulator"
|
|||
readme = "README.md"
|
||||
homepage = "https://alacritty.org"
|
||||
repository = "https://github.com/alacritty/alacritty"
|
||||
edition = "2021"
|
||||
rust-version = "1.74.0"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[dependencies.alacritty_terminal]
|
||||
path = "../alacritty_terminal"
|
||||
|
|
|
@ -6,8 +6,8 @@ license = "MIT OR Apache-2.0"
|
|||
description = "Alacritty configuration abstractions"
|
||||
homepage = "https://alacritty.org"
|
||||
repository = "https://github.com/alacritty/alacritty"
|
||||
edition = "2021"
|
||||
rust-version = "1.74.0"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
log = { version = "0.4.17", features = ["serde"] }
|
||||
|
|
|
@ -6,8 +6,8 @@ license = "MIT OR Apache-2.0"
|
|||
description = "Failure resistant deserialization derive"
|
||||
homepage = "https://alacritty.org"
|
||||
repository = "https://github.com/alacritty/alacritty"
|
||||
edition = "2021"
|
||||
rust-version = "1.74.0"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
|
|
@ -7,8 +7,8 @@ description = "Library for writing terminal emulators"
|
|||
readme = "../README.md"
|
||||
homepage = "https://alacritty.org"
|
||||
repository = "https://github.com/alacritty/alacritty"
|
||||
edition = "2021"
|
||||
rust-version = "1.74.0"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
[features]
|
||||
default = ["serde"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue