Paul Holzinger
d234af6ea1
fix: accept fib flags as string or array
...
nft 1.1.4 changed the json output to return only a single string if
there is only one flag set.[1,2]
The same logic applies to some other types as well which I update in the
following commits.
[1] https://github.com/nftables-rs/nftables-rs/issues/183
[2] https://bugzilla.netfilter.org/show_bug.cgi?id=1806
Fixes #183
Signed-off-by: Paul Holzinger <pholzing@redhat.com >
2025-08-13 15:25:23 +02:00
Paul Holzinger
0294fb2601
fix: correctly parse log opts as array
...
The inffered type by Deserialize is Option<T> which is wrong and thus
the deserialize call fails as it is called on the wrong type. If we have
an array we need to directly use the HashSet type.
Switch one of the log statements in the tests to use two flags to cover
this path.
Signed-off-by: Paul Holzinger <pholzing@redhat.com >
2025-08-13 15:25:22 +02:00
Paul Holzinger
4c6a943fef
fix: do not panic when parsing an unsupported log flag
...
Signed-off-by: Paul Holzinger <pholzing@redhat.com >
2025-08-13 15:25:15 +02:00
Jan Romann
9d3c72bf57
Merge pull request #182 from nftables-rs/dependabot/cargo/futures-lite-2.6.1
...
chore(deps): bump futures-lite from 2.6.0 to 2.6.1
2025-08-09 17:03:27 +02:00
dependabot[bot]
8737de5775
chore(deps): bump futures-lite from 2.6.0 to 2.6.1
...
Bumps [futures-lite](https://github.com/smol-rs/futures-lite ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/smol-rs/futures-lite/releases )
- [Changelog](https://github.com/smol-rs/futures-lite/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/futures-lite/compare/v2.6.0...v2.6.1 )
---
updated-dependencies:
- dependency-name: futures-lite
dependency-version: 2.6.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-04 03:33:30 +00:00
Jan Romann
744b367b27
Merge pull request #177 from nftables-rs/dependabot/cargo/async-process-2.4.0
...
chore(deps): bump async-process from 2.3.0 to 2.4.0
2025-08-01 20:14:02 +02:00
Jan Romann
bfdad29993
Merge pull request #180 from nftables-rs/dependabot/cargo/serde_json-1.0.142
...
chore(deps): bump serde_json from 1.0.141 to 1.0.142
2025-08-01 20:13:38 +02:00
dependabot[bot]
eeec21b309
chore(deps): bump serde_json from 1.0.141 to 1.0.142
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.141 to 1.0.142.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.141...v1.0.142 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-version: 1.0.142
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-01 03:05:16 +00:00
dependabot[bot]
e437171703
chore(deps): bump async-process from 2.3.0 to 2.4.0
...
---
updated-dependencies:
- dependency-name: async-process
dependency-version: 2.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-31 14:53:47 +00:00
Jasper Wiegratz
9483d1b18a
Merge pull request #176 from nftables-rs/dependabot/cargo/serde_json-1.0.141
...
chore(deps): bump serde_json from 1.0.140 to 1.0.141
2025-07-31 16:52:40 +02:00
dependabot[bot]
95ea8b6c7c
chore(deps): bump serde_json from 1.0.140 to 1.0.141
...
---
updated-dependencies:
- dependency-name: serde_json
dependency-version: 1.0.141
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-31 09:46:54 +00:00
Jasper Wiegratz
350697a385
Merge pull request #178 from nftables-rs/dependabot/cargo/strum_macros-0.27.2
...
chore(deps): bump strum_macros from 0.27.1 to 0.27.2
2025-07-31 11:45:52 +02:00
dependabot[bot]
3fc8324dcc
chore(deps): bump strum_macros from 0.27.1 to 0.27.2
...
---
updated-dependencies:
- dependency-name: strum_macros
dependency-version: 0.27.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-30 23:07:13 +00:00
Jasper Wiegratz
b7ee217288
Merge pull request #175 from nftables-rs/dependabot/cargo/strum-0.27.2
...
chore(deps): bump strum from 0.27.1 to 0.27.2
2025-07-31 01:06:09 +02:00
dependabot[bot]
5dcba2d41d
chore(deps): bump strum from 0.27.1 to 0.27.2
...
---
updated-dependencies:
- dependency-name: strum
dependency-version: 0.27.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-28 04:26:07 +00:00
Jan Romann
207c873d11
Merge pull request #179 from nftables-rs/dependabot/cargo/tokio-1.47.0
...
chore(deps): bump tokio from 1.46.1 to 1.47.0
2025-07-28 06:25:01 +02:00
dependabot[bot]
c0cc5ecc0d
chore(deps): bump tokio from 1.46.1 to 1.47.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.46.1 to 1.47.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.46.1...tokio-1.47.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.47.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-28 02:47:47 +00:00
Jasper Wiegratz
dd9c55d61f
Merge pull request #174 from nftables-rs/dependabot/cargo/tokio-1.46.1
...
chore(deps): bump tokio from 1.46.0 to 1.46.1
2025-07-13 01:38:43 +02:00
dependabot[bot]
d4feb33021
chore(deps): bump tokio from 1.46.0 to 1.46.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.46.0 to 1.46.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.46.0...tokio-1.46.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.46.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-12 23:20:46 +00:00
Jasper Wiegratz
71a5f9828a
Merge pull request #173 from nftables-rs/dependabot/cargo/schemars-1.0.4
...
chore(deps): bump schemars from 1.0.3 to 1.0.4
2025-07-13 01:19:34 +02:00
dependabot[bot]
7bc980d833
chore(deps): bump schemars from 1.0.3 to 1.0.4
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v1.0.3...v1.0.4 )
---
updated-dependencies:
- dependency-name: schemars
dependency-version: 1.0.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-07 03:04:37 +00:00
Jan Romann
b45d48292b
Merge pull request #172 from nftables-rs/dependabot/cargo/tokio-1.46.0
...
chore(deps): bump tokio from 1.45.1 to 1.46.0
2025-07-03 19:47:23 +02:00
dependabot[bot]
1caaea78c7
chore(deps): bump tokio from 1.45.1 to 1.46.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.45.1 to 1.46.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.45.1...tokio-1.46.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.46.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-03 02:54:33 +00:00
Jasper Wiegratz
c08fa523eb
Merge pull request #171 from nftables-rs/dependabot/cargo/schemars-1.0.3
...
chore(deps): bump schemars from 1.0.2 to 1.0.3
2025-07-02 14:26:57 +02:00
dependabot[bot]
3c9481ebc6
chore(deps): bump schemars from 1.0.2 to 1.0.3
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v1.0.2...v1.0.3 )
---
updated-dependencies:
- dependency-name: schemars
dependency-version: 1.0.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-30 03:27:31 +00:00
Jasper Wiegratz
a45f7b2a68
Merge pull request #164 from nftables-rs/jwhb/fix-anoncounter-none
...
Fix AnonymousCounter none values
2025-06-30 00:47:20 +02:00
Jasper Wiegratz
64a10ab441
Merge pull request #170 from nftables-rs/dependabot/cargo/schemars-1.0.2
...
chore(deps): bump schemars from 1.0.1 to 1.0.2
2025-06-30 00:44:28 +02:00
dependabot[bot]
a7e0fd76cd
chore(deps): bump schemars from 1.0.1 to 1.0.2
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: schemars
dependency-version: 1.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-27 02:37:54 +00:00
jwhb
6bd0d2b61f
fix(stmt): serialize anonymouscounter none as zero
2025-06-26 11:15:37 +02:00
Jasper Wiegratz
e584ec399b
Merge pull request #169 from nftables-rs/dependabot/cargo/schemars-1.0.1
...
chore(deps): bump schemars from 0.9.0 to 1.0.1
2025-06-26 11:13:51 +02:00
dependabot[bot]
c097c92983
chore(deps): bump schemars from 0.9.0 to 1.0.1
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 0.9.0 to 1.0.1.
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.9.0...v1.0.1 )
---
updated-dependencies:
- dependency-name: schemars
dependency-version: 1.0.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-25 02:32:55 +00:00
Jasper Wiegratz
06c21421e7
Merge pull request #160 from nftables-rs/dependabot/cargo/schemars-0.9.0
...
chore(deps): bump schemars from 0.8.22 to 0.9.0
2025-06-07 21:15:54 +02:00
dependabot[bot]
0aa9b800fa
chore(deps): bump schemars from 0.8.22 to 0.9.0
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 0.8.22 to 0.9.0.
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.22...v0.9.0 )
---
updated-dependencies:
- dependency-name: schemars
dependency-version: 0.9.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-07 19:14:37 +00:00
Jasper Wiegratz
fa2b805553
Merge pull request #159 from nftables-rs/dependabot/cargo/tokio-1.45.1
...
chore(deps): bump tokio from 1.45.0 to 1.45.1
2025-05-29 09:37:37 -04:00
dependabot[bot]
fb9df6ef73
chore(deps): bump tokio from 1.45.0 to 1.45.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.45.0 to 1.45.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.45.0...tokio-1.45.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.45.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-26 02:38:43 +00:00
Jasper Wiegratz
3c9ab7ea0b
Merge pull request #157 from nftables-rs/dependabot/cargo/tempfile-3.20.0
...
chore(deps): bump tempfile from 3.19.1 to 3.20.0
2025-05-12 10:20:35 +02:00
dependabot[bot]
970a69b48f
chore(deps): bump tempfile from 3.19.1 to 3.20.0
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.19.1 to 3.20.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.19.1...v3.20.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-version: 3.20.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-12 02:25:59 +00:00
Jasper Wiegratz
002fc1e042
Merge pull request #134 from nftables-rs/release-plz-2025-02-10T08-02-30Z
...
chore: release v0.6.2
2025-05-08 17:28:01 +02:00
github-actions[bot]
23dd91a983
chore: release v0.6.2
v0.6.2
2025-05-08 15:26:29 +00:00
Jasper Wiegratz
6a1c9f6b4e
Merge pull request #155 from nftables-rs/dependabot/cargo/tokio-1.45.0
...
chore(deps): bump tokio from 1.44.1 to 1.45.0
2025-05-08 17:25:49 +02:00
dependabot[bot]
b06d0d7888
chore(deps): bump tokio from 1.44.1 to 1.45.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.44.1 to 1.45.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.45.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.45.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-08 15:18:32 +00:00
jwhb
90f53e7e09
Merge branch 'interj-main'
2025-05-08 17:16:12 +02:00
jwhb
39b57961da
fix: clippy string format lint
2025-05-08 17:16:07 +02:00
Jasper Wiegratz
7b80202635
Merge pull request #156 from nftables-rs/jwhb-cli-clippy
...
Fix clippy string format lint
2025-05-08 17:06:50 +02:00
jwhb
94d2a014dd
fix: clippy string format lint
2025-05-08 15:43:29 +02:00
Jakub Gargul
11f9657f42
docs(expr): fix Payload docs
2025-05-07 13:55:34 +02:00
Jasper Wiegratz
c4def6a60f
Merge pull request #149 from nftables-rs/dependabot/cargo/tokio-1.44.1
...
chore(deps): bump tokio from 1.44.0 to 1.44.1
2025-03-26 10:34:41 +01:00
dependabot[bot]
ed29a9e574
chore(deps): bump tokio from 1.44.0 to 1.44.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.44.0 to 1.44.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.0...tokio-1.44.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-25 13:57:29 +00:00
Jasper Wiegratz
5b4a014103
Merge pull request #150 from nftables-rs/dependabot/cargo/tempfile-3.19.1
...
chore(deps): bump tempfile from 3.19.0 to 3.19.1
2025-03-25 14:56:32 +01:00
dependabot[bot]
0795b4ae8d
chore(deps): bump tempfile from 3.19.0 to 3.19.1
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.19.0 to 3.19.1.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.19.0...v3.19.1 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-24 15:19:52 +00:00