From: Dietmar Maurer <dietmar@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [RFC proxmox 01/22] firewall-api-types: add new crate for firewall api types
Date: Mon, 16 Feb 2026 11:43:39 +0100 [thread overview]
Message-ID: <20260216104401.3959270-2-dietmar@proxmox.com> (raw)
In-Reply-To: <20260216104401.3959270-1-dietmar@proxmox.com>
This commit just adds a dummy package with no funtionality.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
---
Cargo.toml | 1 +
proxmox-firewall-api-types/Cargo.toml | 20 +++++++
proxmox-firewall-api-types/debian/changelog | 5 ++
proxmox-firewall-api-types/debian/control | 52 +++++++++++++++++++
proxmox-firewall-api-types/debian/copyright | 18 +++++++
.../debian/debcargo.toml | 7 +++
proxmox-firewall-api-types/src/lib.rs | 1 +
7 files changed, 104 insertions(+)
create mode 100644 proxmox-firewall-api-types/Cargo.toml
create mode 100644 proxmox-firewall-api-types/debian/changelog
create mode 100644 proxmox-firewall-api-types/debian/control
create mode 100644 proxmox-firewall-api-types/debian/copyright
create mode 100644 proxmox-firewall-api-types/debian/debcargo.toml
create mode 100644 proxmox-firewall-api-types/src/lib.rs
diff --git a/Cargo.toml b/Cargo.toml
index 6ce4d5ec..650868de 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,6 +16,7 @@ members = [
"proxmox-daemon",
"proxmox-deb-version",
"proxmox-dns-api",
+ "proxmox-firewall-api-types",
"proxmox-fixed-string",
"proxmox-docgen",
"proxmox-http",
diff --git a/proxmox-firewall-api-types/Cargo.toml b/proxmox-firewall-api-types/Cargo.toml
new file mode 100644
index 00000000..515d1efc
--- /dev/null
+++ b/proxmox-firewall-api-types/Cargo.toml
@@ -0,0 +1,20 @@
+[package]
+name = "proxmox-firewall-api-types"
+version = "0.1.0"
+description = "Proxmox Firewall API type definitions."
+
+authors.workspace = true
+edition.workspace = true
+license.workspace = true
+repository.workspace = true
+exclude.workspace = true
+
+[dependencies]
+anyhow.workspace = true
+regex.workspace = true
+proxmox-fixed-string.workspace = true
+
+serde = { workspace = true, features = [ "derive" ] }
+serde_plain = { workspace = true }
+proxmox-schema = { workspace = true, features = ["api-macro"] }
+proxmox-serde = { workspace = true, features = ["perl"] }
diff --git a/proxmox-firewall-api-types/debian/changelog b/proxmox-firewall-api-types/debian/changelog
new file mode 100644
index 00000000..0ebe9d33
--- /dev/null
+++ b/proxmox-firewall-api-types/debian/changelog
@@ -0,0 +1,5 @@
+rust-proxmox-firewall-api-types (0.1.0-1) trixie; urgency=medium
+
+ * Initial release.
+
+ -- Proxmox Support Team <support@proxmox.com> Thu, 22 Jan 2026 11:09:07 +0100
diff --git a/proxmox-firewall-api-types/debian/control b/proxmox-firewall-api-types/debian/control
new file mode 100644
index 00000000..13ea0ae1
--- /dev/null
+++ b/proxmox-firewall-api-types/debian/control
@@ -0,0 +1,52 @@
+Source: rust-proxmox-firewall-api-types
+Section: rust
+Priority: optional
+Build-Depends: debhelper-compat (= 13),
+ dh-sequence-cargo
+Build-Depends-Arch: cargo:native <!nocheck>,
+ rustc:native <!nocheck>,
+ libstd-rust-dev <!nocheck>,
+ librust-anyhow-1+default-dev <!nocheck>,
+ librust-proxmox-fixed-string-0.1+default-dev <!nocheck>,
+ librust-proxmox-schema-5+api-macro-dev (>= 5.0.1-~~) <!nocheck>,
+ librust-proxmox-schema-5+default-dev (>= 5.0.1-~~) <!nocheck>,
+ librust-proxmox-serde-1+default-dev <!nocheck>,
+ librust-proxmox-serde-1+perl-dev <!nocheck>,
+ librust-proxmox-serde-1+serde-json-dev <!nocheck>,
+ librust-regex-1+default-dev (>= 1.5-~~) <!nocheck>,
+ librust-serde-1+default-dev <!nocheck>,
+ librust-serde-1+derive-dev <!nocheck>,
+ librust-serde-plain-1+default-dev <!nocheck>
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Standards-Version: 4.7.2
+Vcs-Git: git://git.proxmox.com/git/proxmox.git
+Vcs-Browser: https://git.proxmox.com/?p=proxmox.git
+Homepage: https://git.proxmox.com/?p=proxmox.git
+X-Cargo-Crate: proxmox-firewall-api-types
+
+Package: librust-proxmox-firewall-api-types-dev
+Architecture: any
+Multi-Arch: same
+Depends:
+ ${misc:Depends},
+ librust-anyhow-1+default-dev,
+ librust-proxmox-fixed-string-0.1+default-dev,
+ librust-proxmox-schema-5+api-macro-dev (>= 5.0.1-~~),
+ librust-proxmox-schema-5+default-dev (>= 5.0.1-~~),
+ librust-proxmox-serde-1+default-dev,
+ librust-proxmox-serde-1+perl-dev,
+ librust-proxmox-serde-1+serde-json-dev,
+ librust-regex-1+default-dev (>= 1.5-~~),
+ librust-serde-1+default-dev,
+ librust-serde-1+derive-dev,
+ librust-serde-plain-1+default-dev
+Provides:
+ librust-proxmox-firewall-api-types+default-dev (= ${binary:Version}),
+ librust-proxmox-firewall-api-types-0-dev (= ${binary:Version}),
+ librust-proxmox-firewall-api-types-0+default-dev (= ${binary:Version}),
+ librust-proxmox-firewall-api-types-0.1-dev (= ${binary:Version}),
+ librust-proxmox-firewall-api-types-0.1+default-dev (= ${binary:Version}),
+ librust-proxmox-firewall-api-types-0.1.0-dev (= ${binary:Version}),
+ librust-proxmox-firewall-api-types-0.1.0+default-dev (= ${binary:Version})
+Description: Proxmox Firewall API type definitions - Rust source code
+ Source code for Debianized Rust crate "proxmox-firewall-api-types"
diff --git a/proxmox-firewall-api-types/debian/copyright b/proxmox-firewall-api-types/debian/copyright
new file mode 100644
index 00000000..77952eba
--- /dev/null
+++ b/proxmox-firewall-api-types/debian/copyright
@@ -0,0 +1,18 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+
+Files:
+ *
+Copyright: 2019 - 2026 Proxmox Server Solutions GmbH <support@proxmox.com>
+License: AGPL-3.0-or-later
+ This program is free software: you can redistribute it and/or modify it under
+ the terms of the GNU Affero General Public License as published by the Free
+ Software Foundation, either version 3 of the License, or (at your option) any
+ later version.
+ .
+ This program is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU Affero General Public License along
+ with this program. If not, see <https://www.gnu.org/licenses/>.
diff --git a/proxmox-firewall-api-types/debian/debcargo.toml b/proxmox-firewall-api-types/debian/debcargo.toml
new file mode 100644
index 00000000..b7864cdb
--- /dev/null
+++ b/proxmox-firewall-api-types/debian/debcargo.toml
@@ -0,0 +1,7 @@
+overlay = "."
+crate_src_path = ".."
+maintainer = "Proxmox Support Team <support@proxmox.com>"
+
+[source]
+vcs_git = "git://git.proxmox.com/git/proxmox.git"
+vcs_browser = "https://git.proxmox.com/?p=proxmox.git"
diff --git a/proxmox-firewall-api-types/src/lib.rs b/proxmox-firewall-api-types/src/lib.rs
new file mode 100644
index 00000000..7c4a64a7
--- /dev/null
+++ b/proxmox-firewall-api-types/src/lib.rs
@@ -0,0 +1 @@
+// TODO: add code here
--
2.47.3
next prev parent reply other threads:[~2026-02-16 10:43 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-16 10:43 [RFC proxmox 00/22] New " Dietmar Maurer
2026-02-16 10:43 ` Dietmar Maurer [this message]
2026-02-16 10:43 ` [RFC proxmox 02/22] firewall-api-types: add README.md Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 03/22] firewall-api-types: add firewall policy types Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 04/22] firewall-api-types: add logging types Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 05/22] firewall-api-types: add FirewallClusterOptions Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 06/22] firewall-api-types: add FirewallGuestOptions Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 07/22] firewall-api-types: add FirewallConntrackHelper enum Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 08/22] firewall-api-types: add FirewallNodeOptions struct Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 09/22] firewall-api-types: add FirewallRef type Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 10/22] firewall-api-types: add FirewallPortList types Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 11/22] firewall-api-types: add FirewallIcmpType Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 12/22] firewall-api-types: add FirewallIpsetReference type Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 13/22] firewall-api-types: add FirewallAliasReference type Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 14/22] firewall-api-types: add firewall address types Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 15/22] firewall-api-types: add FirewallRule type Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 16/22] firewall-api-types: use ConfigDigest from proxmox-config-digest crate Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 17/22] firewall-api-types: use COMMENT_SCHEMA from proxmox-schema crate Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 18/22] firewall-api-types: add FirewallRuleUpdater type Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 19/22] firewall-api-types: refactor FirewallRule and add FirewallRuleListEntry Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 20/22] firewall-api-types: add DeletableFirewallRuleProperty enum Dietmar Maurer
2026-02-16 10:43 ` [RFC proxmox 21/22] firewall-api-types: add FirewallAliasEntry API type Dietmar Maurer
2026-02-16 10:44 ` [RFC proxmox 22/22] firewall-api-types: add FirewallIpsetListEntry and FirewallIpsetEntry api types Dietmar Maurer
2026-02-17 6:17 ` [RFC proxmox 00/22] New crate for firewall " Hannes Laimer
2026-02-17 6:39 ` Dietmar Maurer
2026-02-17 8:17 ` Hannes Laimer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260216104401.3959270-2-dietmar@proxmox.com \
--to=dietmar@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.