Skip to content

Commit 82d7136

Browse files
authored
Advertise and enforce MSRV (#73)
1 parent e77b292 commit 82d7136

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/rust.yml

+9
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,12 @@ jobs:
4646
run: rm tests/emoji-test.txt && cd scripts && python3 unicode.py
4747
- name: Diff
4848
run: git update-index --refresh && git diff-index --quiet HEAD --
49+
50+
msrv:
51+
runs-on: ubuntu-latest
52+
steps:
53+
- uses: actions/checkout@v4
54+
- uses: dtolnay/rust-toolchain@master
55+
with:
56+
toolchain: 1.66.0
57+
- run: cargo check --lib --features core,std

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Determine displayed width of `char` and `str` types
2323
according to Unicode Standard Annex #11 rules.
2424
"""
2525
edition = "2021"
26+
rust-version = "1.66"
2627

2728
exclude = ["/.github/*"]
2829

0 commit comments

Comments
 (0)