Skip to content

Commit 8563238

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

File tree

5 files changed

+22
-2
lines changed

5 files changed

+22
-2
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,17 @@ 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-msrv:
90+
runs-on: ubuntu-latest
91+
steps:
92+
- uses: actions/checkout@v6
93+
- name: Install Rust toolchain for littlefs2-core
94+
run: rustup override set 1.74
95+
- name: Build littlefs2-core
96+
# do not enable heapless09 and debug-error features as they require a newer Rust version
97+
run: cargo build --package littlefs2-core --features heapless-bytes03,heapless-bytes04,heapless07,heapless08,serde
98+
- name: Install Rust toolchain for littlefs2
99+
run: rustup override set 1.87
100+
- name: Build littlefs2
101+
run: cargo build --package littlefs2 --all-features

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## Unreleased
99

10-
-
10+
### Changed
11+
12+
- Documented the MSRV 1.87
1113

1214
## [v0.7.0](https://github.com/trussed-dev/littlefs2/releases/tag/0.7.0) - 2026-03-09
1315

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ authors = ["Nicolas Stalder <n@stalder.io>", "Brandon Edens <brandonedens@gmail.
1414
readme = "README.md"
1515
categories = ["embedded", "filesystem", "no-std"]
1616
documentation = "https://docs.rs/littlefs2"
17+
rust-version = "1.87"
1718

1819
edition.workspace = true
1920
license.workspace = true

core/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## Unreleased
99

10-
-
10+
### Changed
11+
12+
- Documented the MSRV 1.74
1113

1214
## [v0.1.2](https://github.com/trussed-dev/littlefs2/releases/tag/core-0.1.2) - 2025-10-16
1315

core/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "littlefs2-core"
33
version = "0.1.2"
44
authors = ["The Trussed developers"]
55
description = "Core types for the littlefs2 crate"
6+
rust-version = "1.74"
67

78
edition.workspace = true
89
license.workspace = true

0 commit comments

Comments
 (0)