Skip to content

Commit 4d189b5

Browse files
committed
2.1.4 screaming about depdency edition versions
1 parent 48df1d9 commit 4d189b5

File tree

3 files changed

+25
-12
lines changed

3 files changed

+25
-12
lines changed

.github/workflows/rust.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,19 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
19+
- name: Get MSRV
20+
run: echo "MSRV=$(grep 'rust-version' Cargo.toml | sed 's/.*"\(.*\)"/\1/')" >> $GITHUB_ENV
21+
- name: Setup Rust toolchain (MSRV)
22+
uses: actions-rust-lang/setup-rust-toolchain@v1
23+
with:
24+
toolchain: ${{ env.MSRV }}
25+
- name: Check with MSRV
26+
run: cargo check
27+
- name: Setup Rust toolchain (latest)
28+
uses: actions-rust-lang/setup-rust-toolchain@v1
29+
with:
30+
components: clippy, rustfmt
1931
- name: Build & Clippy
2032
run: cargo clippy
2133
- name: Check Format

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
[package]
22
name = "dm-playground_controller"
33
description = "The rust serial-driven controller for the dm-playground project"
4-
version = "2.1.3"
4+
version = "2.1.4"
55
edition = "2021"
66
repository = "https://github.com/spacestation13/dm-playground_controller"
77
license = "MIT"
88
rust-version = "1.74"
99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

11+
# Take great care that the dependencies support edition 2021
1112
[dependencies]
12-
base64 = "0.22"
13-
nix = { version = "0.31", features = ["signal", "process"] }
14-
serialport = { version = "4.8", default-features = false }
15-
subprocess = "0.2"
16-
strum = "0.27"
17-
strum_macros = "0.27"
18-
phf = { version = "0.13", features = ["macros"] }
13+
base64 = "=0.22.1"
14+
nix = { version = "=0.31.1", features = ["signal", "process"] }
15+
serialport = { version = "=4.8.1", default-features = false }
16+
subprocess = "=0.2.9"
17+
strum = "=0.27.2"
18+
strum_macros = "=0.27.2"
19+
phf = { version = "=0.13.1", features = ["macros"] }
1920

2021
[profile.release]
2122
lto = true

0 commit comments

Comments
 (0)