diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d431691..dfc485d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 28486d0..463edc6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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/*"]