diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 682ec16..89cfd16 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -47,9 +47,19 @@ jobs: build: name: Rust Build & Test runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + rust_version: + - { name: msrv, version: "1.65" } + - { name: stable, version: stable } steps: - name: Checkout repo uses: actions/checkout@v4 + - name: Install Rust ${{ matrix.rust_version.name }} (${{ matrix.rust_version.version }}) + uses: dtolnay/rust-toolchain@stable + with: + toolchain: ${{ matrix.rust_version.version }} - name: Build run: cargo build --verbose - name: Run tests diff --git a/Cargo.toml b/Cargo.toml index 6f359a3..46dcc24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,13 @@ [package] -edition = "2021" name = "nftables" version = "0.5.0" -license = "MIT OR Apache-2.0" +authors = ["Jasper Wiegratz ", "Jan Romann "] +edition = "2021" +rust-version = "1.65" description = "Safe abstraction for nftables JSON API. It can be used to create nftables rulesets in Rust and parse existing nftables rulesets from JSON." -homepage = "https://namib.me/" repository = "https://github.com/namib-project/nftables-rs" readme = "README.md" +license = "MIT OR Apache-2.0" keywords = ["nftables", "netfilter", "firewall"] categories = ["os", "network-programming"] exclude = [ diff --git a/README.md b/README.md index 08e739b..eb6516e 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,12 @@ fn test_chain_table_rule_inet() { } ``` +## MSRV (Minimum Supported Rust Version) + +The MSRV of this crate is currently: **Rust 1.65** + +The MSRV will only be increased by a minor or major release of this crate. + ## License Licensed under either of