Skip to content

Commit

Permalink
Fix MSRV for borsh
Browse files Browse the repository at this point in the history
  • Loading branch information
pczarn committed Dec 1, 2024
1 parent 36c7be4 commit e64819b
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: [1.65.0, 1.66.0]
rust: [1.63.0, 1.64.0]
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
Expand All @@ -69,11 +69,26 @@ jobs:
- run: cargo test --no-default-features
- run: cargo test --no-default-features --features serde_no_std
- run: cargo test --features serde
- run: cargo test --features borsh
- run: cargo test --features miniserde
- run: cargo test --features nanoserde
- run: cargo test --features nanoserde --no-default-features

msrv-borsh:
name: Rust ${{matrix.rust}}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust: [1.67.0, 1.68.0]
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
- run: cargo test
- run: cargo test --features borsh

clippy:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ documentation = "https://docs.rs/bit-set/"
keywords = ["data-structures", "bitset"]
readme = "README.md"
edition = "2021"
rust-version = "1.65"
rust-version = "1.63"

[dependencies]
borsh = { version = "1.5", default-features = false, features = ["derive"], optional = true }
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
[![crates.io][crates.io shield]][crates.io link]
[![Documentation][docs.rs badge]][docs.rs link]
![Rust CI][github ci badge]
![rustc 1.65+]
![rustc 1.63+]
![borsh: rustc 1.67+]
<br />
<br />
[![Dependency Status][deps.rs status]][deps.rs link]
Expand All @@ -22,7 +23,8 @@
[docs.rs badge]: https://docs.rs/bit-set/badge.svg?version=0.8.0
[docs.rs link]: https://docs.rs/bit-set/0.8.0/bit_set/
[github ci badge]: https://github.com/contain-rs/bit-set/workflows/Rust/badge.svg?branch=master
[rustc 1.65+]: https://img.shields.io/badge/rustc-1.65%2B-blue.svg
[rustc 1.63+]: https://img.shields.io/badge/borsh:%20rustc-1.63%2B-blue.svg
[borsh: rustc 1.67+]: https://img.shields.io/badge/rustc-1.67%2B-blue.svg
[deps.rs status]: https://deps.rs/crate/bit-set/0.8.0/status.svg
[deps.rs link]: https://deps.rs/crate/bit-set/0.8.0
[shields.io download count]: https://img.shields.io/crates/d/bit-set.svg
Expand Down

0 comments on commit e64819b

Please sign in to comment.