Skip to content

Commit

Permalink
Document MSRV of 1.60.0 and add to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasbishop committed Aug 9, 2022
1 parent 52a987e commit a82e81e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Expand Up @@ -17,6 +17,15 @@ on:
name: CI

jobs:
msrv:
name: MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.60.0
- uses: Swatinem/rust-cache@v1
- run: cargo build

check:
name: Check
runs-on: ubuntu-latest
Expand Down
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -37,6 +37,14 @@ reading and writing GPT data to an abstract disk interface. This
interface can be implemented for any backend that supports block-level
IO.

## Minimum Supported Rust Version (MSRV)

The current MSRV is 1.60.0 due to the use of the Cargo [`dep:`]
feature. Feel free to file an issue or create a PR if you have a use
case that requires an older version.

[`dep:`]: https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html#new-syntax-for-cargo-features

## Code layout

[`uguid/src`](uguid/src):
Expand Down

0 comments on commit a82e81e

Please sign in to comment.