mirror of
https://github.com/nftables-rs/nftables-rs.git
synced 2026-10-20 08:01:34 +00:00
Merge pull request #83 from namib-project/jwhb-msrv
Document and test against Minimum Supported Rust Version
This commit is contained in:
@@ -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
|
||||
|
||||
+4
-3
@@ -1,12 +1,13 @@
|
||||
[package]
|
||||
edition = "2021"
|
||||
name = "nftables"
|
||||
version = "0.5.0"
|
||||
license = "MIT OR Apache-2.0"
|
||||
authors = ["Jasper Wiegratz <wiegratz@uni-bremen.de>", "Jan Romann <jan.romann@uni-bremen.de>"]
|
||||
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 = [
|
||||
|
||||
Reference in New Issue
Block a user