Skip to content

Commit

Permalink
Add MSRV Policy (#73)
Browse files Browse the repository at this point in the history
* Add MSRV policy to README

* Remove criterion html_reports feature

* Increase MSRV to 1.74
  • Loading branch information
SRv6d authored Apr 9, 2024
1 parent 6e66723 commit a77b937
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
rust_version: ["1.70", "stable"]
rust_version: ["1.74", "stable"]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repository = "https://github.com/srv6d/rpsl-rs"
readme = "README.md"
exclude = [".devcontainer", ".github", "doc/benchmark/**", "tests/**"]
# Make sure to also adjust in README and CI
rust-version = "1.70"
rust-version = "1.74"

[lib]
name = "rpsl"
Expand All @@ -24,7 +24,7 @@ thiserror = "1.0.50"

[dev-dependencies]
codspeed-criterion-compat = "2.3.3"
criterion = { version = "0.5.1", features = ["html_reports"] }
criterion = "0.5.1"
proptest = "1.4.0"

[[bench]]
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<img src="https://img.shields.io/crates/v/rpsl-rs.svg?logo=rust" alt="Cargo version">
</a>
<a href="https://rust-lang.github.io/rfcs/2495-min-rust-version.html">
<img src="https://img.shields.io/badge/rustc-1.70+-blue?logo=rust" alt="Rust version">
<img src="https://img.shields.io/badge/rustc-1.74+-blue?logo=rust" alt="Rust version">
</a>

</div>
Expand Down Expand Up @@ -162,6 +162,12 @@ Ref: https://rdap.arin.net/registry/entity/THEFA-3

To extract each individual object, the [parse_whois_response] function can be used to parse the response into a `Vec` containing all individual [ObjectView]s within the response. Examples can be found in the function documentation.

## MSRV Policy

This project requires the minimum supported Rust version to be at least 6 months old.
As long as this requirement is met, the MSRV may be increased as necessary through a minor version update.
For the currently configured MSRV, please check [Cargo.toml](Cargo.toml).

## Contributing

Contributions of all sizes that improve `rpsl-rs` in any way, be it DX/UX, documentation, performance or other are highly appreciated.
Expand Down

0 comments on commit a77b937

Please sign in to comment.