Skip to content

Commit 2430ef8

Browse files
committed
Upgrade bitflags dependency to latest (2.6.0)
1 parent e51fe76 commit 2430ef8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Diff for: Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: nftnl/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ nftnl-1-1-1 = ["nftnl-sys/nftnl-1-1-1"]
2020
nftnl-1-1-2 = ["nftnl-sys/nftnl-1-1-2"]
2121

2222
[dependencies]
23-
bitflags = "1.0.4"
23+
bitflags = "2.6.0"
2424
log = "0.4"
2525
nftnl-sys = { path = "../nftnl-sys", version = "0.6.1" }
2626

Diff for: nftnl/src/expr/ct.rs

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ use nftnl_sys::{self as sys, libc};
33
use std::os::raw::c_char;
44

55
bitflags::bitflags! {
6+
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
67
pub struct States: u32 {
78
const INVALID = 1;
89
const ESTABLISHED = 2;
@@ -13,6 +14,7 @@ bitflags::bitflags! {
1314
}
1415

1516
bitflags::bitflags! {
17+
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
1618
pub struct ConntrackStatus: u32 {
1719
const EXPECTED = 1;
1820
const SEEN_REPLY = 2;

0 commit comments

Comments
 (0)