Skip to content

Commit e683c16

Browse files
Document MSRV and check it in CI
1 parent 74b17c2 commit e683c16

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,13 @@ jobs:
8585
8686
- name: Build avr
8787
run: RUSTFLAGS="-C target-cpu=atmega328p" cargo +nightly build -Z build-std=core --target=avr-none --workspace --release
88+
89+
build:
90+
runs-on: ubuntu-latest
91+
steps:
92+
- uses: actions/checkout@v6
93+
- name: Install Rust toolchain
94+
run: rustup override set 1.73
95+
- name: Build
96+
run: cargo build --workspace --all-features
97+

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ members = ["core"]
55
edition = "2021"
66
license = "Apache-2.0 OR MIT"
77
repository = "https://github.com/trussed-dev/littlefs2"
8+
rust-version = "1.73"
89

910
[package]
1011
name = "littlefs2"
@@ -18,6 +19,7 @@ documentation = "https://docs.rs/littlefs2"
1819
edition.workspace = true
1920
license.workspace = true
2021
repository.workspace = true
22+
rust-version.workspace = true
2123

2224
[package.metadata.docs.rs]
2325
all-features = true

core/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ description = "Core types for the littlefs2 crate"
77
edition.workspace = true
88
license.workspace = true
99
repository.workspace = true
10+
rust-version.workspace = true
1011

1112
[dependencies]
1213
bitflags = "2.6.0"

0 commit comments

Comments
 (0)