Skip to content

Commit 0d0cdbd

Browse files
committed
Set a MSRV to 1.82 and test it
1.82 seems to be the lowest version supported by dependencies; in particular, the latest version of `writeable` requires 1.81, and `icu_properties_data` requires 1.82.
1 parent 31f772c commit 0d0cdbd

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,16 @@ jobs:
6262
with:
6363
command: test
6464
args: --features ${{ matrix.features }}
65+
66+
msrv:
67+
runs-on: ubuntu-24.04
68+
steps:
69+
- uses: actions/checkout@master
70+
- name: Install Rust
71+
run: |
72+
msrv="$(cargo metadata --format-version=1 |
73+
jq -r '.packages[] | select(.name == "rouille").rust_version'
74+
)"
75+
rustup update "$msrv" && rustup default "$msrv"
76+
- uses: Swatinem/rust-cache@v2
77+
- run: cargo check

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ description = "High-level idiomatic web framework."
99
readme = "README.md"
1010
keywords = ["web", "framework", "http", "rest"]
1111
categories = ["web-programming::http-server", "web-programming::websocket"]
12+
rust-version = "1.82"
1213

1314
[features]
1415
default = ["gzip", "brotli"]

0 commit comments

Comments
 (0)