Skip to content

Commit

Permalink
Add MSRV policy. Track in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Sep 25, 2023
1 parent c690292 commit af133a7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ jobs:
- run: cargo build --no-default-features
- run: cargo test --no-default-features --features taffy_tree

# MSRV check.
# Taffy only guarantees "latest stable". However we have this check here to ensure that we advertise
# our MSRV. We also make an effort not to increase MSRV in patch versions of Taffy.
test-features-msrv:
name: "Test Suite [Features: Default] (Rust 1.65)"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.65
- run: cargo build
- run: cargo test

# Default
test-features-default:
name: "Test Suite [Features: Default]"
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ authors = [
"Johnathan Kelley <jkelleyrtp@gmail.com>",
]
edition = "2021"
rust-version = "1.65"
include = ["src/**/*", "Cargo.toml", "README.md"]
description = "A flexible UI layout library "
repository = "https://github.com/DioxusLabs/taffy"
Expand Down

0 comments on commit af133a7

Please sign in to comment.