netavark icon indicating copy to clipboard operation
netavark copied to clipboard

fix(deps): update rust crate nftables to 0.6.0

Open renovate[bot] opened this issue 10 months ago โ€ข 6 comments

This PR contains the following updates:

Package Type Update Change
nftables (source) dependencies minor 0.5.0 -> 0.6.0

Release Notes

namib-project/nftables-rs (nftables)

v0.6.0

Compare Source

โ›ฐ๏ธ Features
  • (expr) [breaking] Add documentation, default impls for expressions, add attributes to socket expression - (13c0849)
  • (expr) [breaking] Make range fixed-sized array, not slice - (1ce8021)
  • (helper) Add async helpers - (81cd4f3)
  • (helper) Generalize helper arguments - (021668a)
  • (helper) [breaking] Make helper APIs accept borrowed values - (091adb4)
  • [breaking] Replace Cow<'static, _> with 'a - (c22a2a4)
  • [breaking] Reduce stack usage by selectively wrapping large values in Box - (583b2d5)
  • [breaking] Use Cow whenever possible instead of owned values - (8ddb5ff)
๐Ÿ› Bug Fixes
  • (expr) [breaking] Revert recursive Cow<[Expression]> back to Vec - (75b7f48)
  • (stmt) Allow port-range for nat port - (07d062a)
  • (stmt) [breaking] Match anonymous and named quotas - (61ba8ea)
  • (tests) Fix datatest_stable::harness macro usage - (3948819)
๐Ÿ“š Documentation
  • (helper) Add docs for async helpers - (3a6be32)
  • (readme) Fix call to apply_ruleset() - (210e4ee)
  • (readme) Update examples - (4857791)
  • Define msrv - (dfc8517)
๐Ÿงช Testing
  • (deserialize) Generate deserialize tests with harness - (68332fd)
  • (stmt) Extend nat test with port range - (ad0b46a)
โš™๏ธ Miscellaneous Tasks
  • (msrv) [breaking] Increase msrv to 1.76 - (76e7e7a)

Configuration

๐Ÿ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.

โ™ป Rebasing: Never, or you tick the rebase/retry checkbox.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Jan 24 '25 17:01 renovate[bot]

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: renovate[bot] Once this PR has been reviewed and has the lgtm label, please assign baude for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

openshift-ci[bot] avatar Jan 24 '25 17:01 openshift-ci[bot]

Ephemeral COPR build failed. @containers/packit-build please check.

@Luap99 I incorporated most of the required changes here, but there are still a few spots in setup_network() where the borrow checker fails.

jwhb avatar Jan 28 '25 18:01 jwhb

Thanks, I already worked locally on porting things, though I guess I have chosen the painful way and actually converting things to Cow::Owned()/Cow::Borrowed() things which also causes ton of borrow checker problems since the old code basically just cloned everything. I guess using .into() might be a bit shorter and easier to read.

Luap99 avatar Jan 28 '25 18:01 Luap99

@jwhb If you like to finish your changes I am happy to accept them, I gladly move on to something else in the meantime.

Luap99 avatar Jan 28 '25 18:01 Luap99

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

openshift-merge-robot avatar Feb 08 '25 22:02 openshift-merge-robot

@jwhb If you like to finish your changes I am happy to accept them, I gladly move on to something else in the meantime.

I can confirm that I will not have a complete patch ready anytime soon.

jwhb avatar May 08 '25 15:05 jwhb

@jwhb Thanks no worries I will take care of the update.

Luap99 avatar May 08 '25 16:05 Luap99