Skip to content

Commit

Permalink
update to nftables release 0.3 from crates.io
Browse files Browse the repository at this point in the history
This allows us to publish on crates.io as well.

Signed-off-by: Paul Holzinger <[email protected]>
  • Loading branch information
Luap99 committed Jan 25, 2024
1 parent b985cd2 commit 851ac90
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 18 deletions.
15 changes: 8 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sha2 = "0.10.8"
netlink-packet-utils = "0.5.2"
netlink-packet-route = "0.18.1"
netlink-packet-core = "0.7.0"
nftables = { git = "https://github.com/namib-project/nftables-rs.git", rev = "1b0c60b" }
nftables = "0.3"
fs2 = "0.4.3"
netlink-sys = "0.8.5"
tokio = { version = "1.35", features = ["rt", "rt-multi-thread", "signal", "fs"] }
Expand Down
5 changes: 0 additions & 5 deletions DISTRO_PACKAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ And then create a cargo config file to point it to the vendor dir.
tar xvf %{SOURCE}
mkdir -p .cargo
cat >.cargo/config << EOF
[source."git+https://github.com/namib-project/nftables-rs.git?rev=1b0c60b"]
git = "https://github.com/namib-project/nftables-rs.git"
rev = "1b0c60b"
replace-with = "vendored-sources"
[source.crates-io]
replace-with = "vendored-sources"
Expand Down
5 changes: 0 additions & 5 deletions rpm/netavark.spec
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ tar fx %{SOURCE1}
mkdir -p .cargo

cat >.cargo/config << EOF
[source."git+https://github.com/namib-project/nftables-rs.git?rev=1b0c60b"]
git = "https://github.com/namib-project/nftables-rs.git"
rev = "1b0c60b"
replace-with = "vendored-sources"

[source.crates-io]
replace-with = "vendored-sources"

Expand Down

0 comments on commit 851ac90

Please sign in to comment.