Skip to content

Commit 947a2b0

Browse files
committed
Bump MSRV to 1.84
Rust 1.84 brings a MSRV-aware resolver which discards dependencies which require a too new toolchain. Thus we cand drop the pinned version of indexmap, the resolver will do its job.
1 parent 8331509 commit 947a2b0

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/testing.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,15 @@ jobs:
2121
sudo apt-get install -y libdbus-1-dev
2222
- name: Set toolchain version
2323
run: |
24-
rustup override set 1.76
24+
rustup override set 1.84
2525
rustup component add rustfmt
2626
- name: cargo check
2727
run: cargo check ${{ matrix.features }}
2828
- name: cargo fmt
2929
run: cargo fmt --all -- --check
3030
- name: cargo clippy
3131
run: |
32-
rustup override set 1.80
3332
rustup component add clippy
3433
cargo clippy -- -D warnings
3534
- name: cargo test
36-
run: cargo +1.76.0 test ${{ matrix.features }}
35+
run: cargo test ${{ matrix.features }}

Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ authors = ["Adam McQuilkin"]
99
readme = "README.md"
1010
license = "GPL-3.0"
1111
version = "0.1.7"
12-
rust-version = "1.76"
12+
rust-version = "1.84"
1313
edition = "2021"
1414

1515
[lib]
@@ -54,8 +54,6 @@ walkdir = { version = "2.5.0", optional = true }
5454

5555
[dependencies]
5656
futures-util = "0.3.31"
57-
#TODO: remove indexmap after moving to rust 1.84+. It's listed here only to lock the version.
58-
indexmap = "=2.11.0"
5957
rand = "0.9.0"
6058
tokio = { version = "1.43.0", features = ["full"], optional = true }
6159
tokio-serial = { version = "5.4.5", optional = true }

0 commit comments

Comments
 (0)