From c1589cc796dfaa7ae5f069e62cdf8f6303e4ad24 Mon Sep 17 00:00:00 2001 From: Stefan Hanreich Date: Fri, 29 Mar 2024 10:30:32 +0100 Subject: [PATCH] nftables: add crate for libnftables bindings Co-authored-by: Wolfgang Bumiller Signed-off-by: Stefan Hanreich Reviewed-by: Lukas Wagner Reviewed-by: Max Carrara Signed-off-by: Thomas Lamprecht --- Cargo.toml | 1 + proxmox-nftables/Cargo.toml | 16 ++++++++++++++++ proxmox-nftables/src/lib.rs | 0 3 files changed, 17 insertions(+) create mode 100644 proxmox-nftables/Cargo.toml create mode 100644 proxmox-nftables/src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index a8d33ab..877f103 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,5 @@ [workspace] members = [ "proxmox-ve-config", + "proxmox-nftables", ] diff --git a/proxmox-nftables/Cargo.toml b/proxmox-nftables/Cargo.toml new file mode 100644 index 0000000..764e231 --- /dev/null +++ b/proxmox-nftables/Cargo.toml @@ -0,0 +1,16 @@ +[package] +name = "proxmox-nftables" +version = "0.1.0" +edition = "2021" +authors = [ + "Wolfgang Bumiller ", + "Stefan Hanreich ", + "Proxmox Support Team ", +] +description = "Proxmox VE nftables" +license = "AGPL-3" + +[dependencies] +log = "0.4" + +proxmox-ve-config = { path = "../proxmox-ve-config", optional = true } diff --git a/proxmox-nftables/src/lib.rs b/proxmox-nftables/src/lib.rs new file mode 100644 index 0000000..e69de29