Skip to content

Commit

Permalink
Test checking MSRV in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-graj committed Jul 27, 2024
1 parent c597f4e commit 6b77b0c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ jobs:
toolchain: nightly
profile: minimal

- name: Install cargo-msrv
run: cargo install cargo-msrv

- name: MSRV
run: |
cargo +nightly generate-lockfile -Z minimal-versions
cd bin-proto
cargo msrv --verify
- name: Test
run: cargo test

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Unimplement `ProtocolRead` and `BitFieldRead` on `Option`
- Create `Discriminable` trait for obtaining `enum` discriminants
- Additionally derive `Discriminable`, `TaggedRead`, `UntaggedWrite`
- Implement number-related traits on `usize` and `isize`
# v0.4.2
- Set MSRV at 1.63.0
# v0.4.1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ WithCtx(NeedsCtx)

This crate's main alternative is [deku](https://crates.io/crates/deku), and [binrw](https://crates.io/crates/binrw) for byte-level protocols.

`bin-proto` is significantly faster than `deku` in almost most of the tested scenarios.
`bin-proto` is significantly faster than `deku` in most of the tested scenarios.
The units for the below table are `ns`, taken from
[github CI](https://github.com/wojciech-graj/bin-proto/actions/runs/10098075855/job/27924670834).
You can find the benchmarks in the `bench` directory.
Expand Down

0 comments on commit 6b77b0c

Please sign in to comment.