Skip to content

Commit

Permalink
Advertise and enforce MSRV (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
djc authored Dec 16, 2024
1 parent e77b292 commit 82d7136
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ jobs:
run: rm tests/emoji-test.txt && cd scripts && python3 unicode.py
- name: Diff
run: git update-index --refresh && git diff-index --quiet HEAD --

msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.66.0
- run: cargo check --lib --features core,std
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Determine displayed width of `char` and `str` types
according to Unicode Standard Annex #11 rules.
"""
edition = "2021"
rust-version = "1.66"

exclude = ["/.github/*"]

Expand Down

0 comments on commit 82d7136

Please sign in to comment.