diff --git a/pkgs/by-name/pr/proxmox-backup-client/0001-cargo-re-route-dependencies-not-available-on-crates..patch b/pkgs/by-name/pr/proxmox-backup-client/0001-cargo-re-route-dependencies-not-available-on-crates..patch index 37d230f52c57..ea0a49387dec 100644 --- a/pkgs/by-name/pr/proxmox-backup-client/0001-cargo-re-route-dependencies-not-available-on-crates..patch +++ b/pkgs/by-name/pr/proxmox-backup-client/0001-cargo-re-route-dependencies-not-available-on-crates..patch @@ -1,185 +1,101 @@ -From fe701cc514b479ca01d18d7f1ab1da6acbc93273 Mon Sep 17 00:00:00 2001 -From: Christoph Heiss -Date: Thu, 5 Jun 2025 11:26:24 +0200 -Subject: [PATCH 1/5] cargo: re-route dependencies not available on crates.io - to git repos +From 552fcf4c45deadbf6b51128d32dd23536af31e9c Mon Sep 17 00:00:00 2001 +From: Christoph Heiss +Date: Tue, 12 Aug 2025 13:48:48 +0200 +Subject: [PATCH proxmox-backup 1/2] cargo: re-route dependencies not available + on crates.io Signed-off-by: Christoph Heiss --- - Cargo.toml | 146 ++++++++++------------------------------------------- - 1 file changed, 27 insertions(+), 119 deletions(-) + Cargo.toml | 83 ++++++++++++++++++++++++++++-------------------------- + 1 file changed, 43 insertions(+), 40 deletions(-) diff --git a/Cargo.toml b/Cargo.toml -index d38321e3..99d712da 100644 +index 337bb081..0aed1103 100644 --- a/Cargo.toml +++ b/Cargo.toml -@@ -41,8 +41,6 @@ members = [ - - "proxmox-backup-banner", - "proxmox-backup-client", -- "proxmox-file-restore", -- "proxmox-restore-daemon", - - "pxar-bin", - ] -@@ -160,138 +158,48 @@ xdg = "2.2" - zstd = { version = "0.12", features = [ "bindgen" ] } - zstd-safe = "6.0" - --[dependencies] --anyhow.workspace = true --async-trait.workspace = true --base64.workspace = true --bytes.workspace = true --cidr.workspace = true --const_format.workspace = true --crc32fast.workspace = true --crossbeam-channel.workspace = true --endian_trait.workspace = true --futures.workspace = true --h2.workspace = true --hex.workspace = true --hyper.workspace = true --libc.workspace = true --log.workspace = true --nix.workspace = true --nom.workspace = true --num-traits.workspace = true --once_cell.workspace = true --openssl.workspace = true --percent-encoding.workspace = true --regex.workspace = true --rustyline.workspace = true --serde.workspace = true --serde_json.workspace = true --syslog.workspace = true --termcolor.workspace = true --thiserror.workspace = true --tokio = { workspace = true, features = [ "fs", "io-util", "io-std", "macros", "net", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "time" ] } --tokio-openssl.workspace = true --tokio-stream.workspace = true --tokio-util = { workspace = true, features = [ "codec" ] } --tracing.workspace = true --udev.workspace = true --url.workspace = true --walkdir.workspace = true --zstd.workspace = true -- --#valgrind_request = { git = "https://github.com/edef1c/libvalgrind_request", version = "1.1.0", optional = true } -- --# proxmox workspace --proxmox-apt.workspace = true --proxmox-apt-api-types.workspace = true --proxmox-async.workspace = true --proxmox-auth-api = { workspace = true, features = [ "api", "pam-authenticator" ] } --proxmox-compression.workspace = true --proxmox-config-digest.workspace = true --proxmox-daemon.workspace = true --proxmox-http = { workspace = true, features = [ "client-trait", "proxmox-async", "rate-limited-stream" ] } # pbs-client doesn't use these --proxmox-human-byte.workspace = true --proxmox-io.workspace = true --proxmox-lang.workspace = true --proxmox-log.workspace = true --proxmox-ldap.workspace = true --proxmox-metrics.workspace = true --proxmox-notify = { workspace = true, features = [ "pbs-context" ] } --proxmox-openid.workspace = true --proxmox-rest-server = { workspace = true, features = [ "rate-limited-stream" ] } --proxmox-router = { workspace = true, features = [ "cli", "server"] } --proxmox-schema = { workspace = true, features = [ "api-macro" ] } --proxmox-section-config.workspace = true --proxmox-serde = { workspace = true, features = [ "serde_json" ] } --proxmox-shared-cache.workspace = true --proxmox-shared-memory.workspace = true --proxmox-sortable-macro.workspace = true --proxmox-subscription.workspace = true --proxmox-sys = { workspace = true, features = [ "timer" ] } --proxmox-systemd.workspace = true --proxmox-tfa.workspace = true --proxmox-time.workspace = true --proxmox-uuid.workspace = true --proxmox-worker-task.workspace = true --pbs-api-types.workspace = true -- --# in their respective repo --proxmox-acme.workspace = true --pxar.workspace = true -- --# proxmox-backup workspace/internal crates --pbs-buildcfg.workspace = true --pbs-client.workspace = true --pbs-config.workspace = true --pbs-datastore.workspace = true --pbs-key-config.workspace = true --pbs-tape.workspace = true --pbs-tools.workspace = true --proxmox-rrd.workspace = true --proxmox-rrd-api-types.workspace = true -- +@@ -263,47 +263,50 @@ proxmox-rrd-api-types.workspace = true # Local path overrides # NOTE: You must run `cargo update` after changing this for it to take effect! [patch.crates-io] -#pbs-api-types = { path = "../proxmox/pbs-api-types" } -+pbs-api-types = { path = "../proxmox/pbs-api-types" } - #proxmox-acme = { path = "../proxmox/proxmox-acme" } - #proxmox-apt = { path = "../proxmox/proxmox-apt" } +-#proxmox-acme = { path = "../proxmox/proxmox-acme" } +-#proxmox-apt = { path = "../proxmox/proxmox-apt" } -#proxmox-apt-api-types = { path = "../proxmox/proxmox-apt-api-types" } -#proxmox-async = { path = "../proxmox/proxmox-async" } -#proxmox-auth-api = { path = "../proxmox/proxmox-auth-api" } +-#proxmox-base64 = { path = "../proxmox/proxmox-base64" } -#proxmox-borrow = { path = "../proxmox/proxmox-borrow" } -#proxmox-compression = { path = "../proxmox/proxmox-compression" } -#proxmox-config-digest = { path = "../proxmox/proxmox-config-digest" } -+proxmox-apt-api-types = { path = "../proxmox/proxmox-apt-api-types" } -+proxmox-async = { path = "../proxmox/proxmox-async" } -+proxmox-auth-api = { path = "../proxmox/proxmox-auth-api" } -+proxmox-borrow = { path = "../proxmox/proxmox-borrow" } -+proxmox-compression = { path = "../proxmox/proxmox-compression" } -+proxmox-config-digest = { path = "../proxmox/proxmox-config-digest" } - #proxmox-daemon = { path = "../proxmox/proxmox-daemon" } +-#proxmox-daemon = { path = "../proxmox/proxmox-daemon" } -#proxmox-fuse = { path = "../proxmox-fuse" } -#proxmox-http = { path = "../proxmox/proxmox-http" } -#proxmox-human-byte = { path = "../proxmox/proxmox-human-byte" } -#proxmox-io = { path = "../proxmox/proxmox-io" } -#proxmox-lang = { path = "../proxmox/proxmox-lang" } -#proxmox-log = { path = "../proxmox/proxmox-log" } +-#proxmox-ldap = { path = "../proxmox/proxmox-ldap" } +-#proxmox-metrics = { path = "../proxmox/proxmox-metrics" } +-#proxmox-network-api = { path = "../proxmox/proxmox-network-api" } +-#proxmox-notify = { path = "../proxmox/proxmox-notify" } +-#proxmox-openid = { path = "../proxmox/proxmox-openid" } +-#proxmox-rest-server = { path = "../proxmox/proxmox-rest-server" } +-#proxmox-router = { path = "../proxmox/proxmox-router" } +-#proxmox-rrd = { path = "../proxmox/proxmox-rrd" } +-#proxmox-rrd-api-types = { path = "../proxmox/proxmox-rrd-api-types" } +-#proxmox-schema = { path = "../proxmox/proxmox-schema" } +-#proxmox-section-config = { path = "../proxmox/proxmox-section-config" } +-#proxmox-serde = { path = "../proxmox/proxmox-serde" } +-#proxmox-shared-memory = { path = "../proxmox/proxmox-shared-memory" } +-#proxmox-sortable-macro = { path = "../proxmox/proxmox-sortable-macro" } +-#proxmox-subscription = { path = "../proxmox/proxmox-subscription" } +-#proxmox-sys = { path = "../proxmox/proxmox-sys" } +-#proxmox-systemd = { path = "../proxmox/proxmox-systemd" } +-#proxmox-tfa = { path = "../proxmox/proxmox-tfa" } +-#proxmox-time = { path = "../proxmox/proxmox-time" } +-#proxmox-uuid = { path = "../proxmox/proxmox-uuid" } +-#proxmox-worker-task = { path = "../proxmox/proxmox-worker-task" } ++pbs-api-types = { path = "../proxmox/pbs-api-types" } ++proxmox-acme = { path = "../proxmox/proxmox-acme" } ++proxmox-apt = { path = "../proxmox/proxmox-apt" } ++proxmox-apt-api-types = { path = "../proxmox/proxmox-apt-api-types" } ++proxmox-async = { path = "../proxmox/proxmox-async" } ++proxmox-auth-api = { path = "../proxmox/proxmox-auth-api" } ++proxmox-base64 = { path = "../proxmox/proxmox-base64" } ++proxmox-borrow = { path = "../proxmox/proxmox-borrow" } ++proxmox-compression = { path = "../proxmox/proxmox-compression" } ++proxmox-config-digest = { path = "../proxmox/proxmox-config-digest" } ++proxmox-daemon = { path = "../proxmox/proxmox-daemon" } +proxmox-fuse = { path = "../proxmox-fuse" } +proxmox-http = { path = "../proxmox/proxmox-http" } +proxmox-human-byte = { path = "../proxmox/proxmox-human-byte" } +proxmox-io = { path = "../proxmox/proxmox-io" } +proxmox-lang = { path = "../proxmox/proxmox-lang" } +proxmox-log = { path = "../proxmox/proxmox-log" } - #proxmox-ldap = { path = "../proxmox/proxmox-ldap" } - #proxmox-metrics = { path = "../proxmox/proxmox-metrics" } --#proxmox-notify = { path = "../proxmox/proxmox-notify" } ++proxmox-ldap = { path = "../proxmox/proxmox-ldap" } ++proxmox-metrics = { path = "../proxmox/proxmox-metrics" } ++proxmox-network-api = { path = "../proxmox/proxmox-network-api" } +proxmox-notify = { path = "../proxmox/proxmox-notify" } - #proxmox-openid = { path = "../proxmox/proxmox-openid" } - #proxmox-rest-server = { path = "../proxmox/proxmox-rest-server" } --#proxmox-router = { path = "../proxmox/proxmox-router" } ++proxmox-openid = { path = "../proxmox/proxmox-openid" } ++proxmox-rest-server = { path = "../proxmox/proxmox-rest-server" } +proxmox-router = { path = "../proxmox/proxmox-router" } - #proxmox-rrd = { path = "../proxmox/proxmox-rrd" } - #proxmox-rrd-api-types = { path = "../proxmox/proxmox-rrd-api-types" } --#proxmox-schema = { path = "../proxmox/proxmox-schema" } --#proxmox-section-config = { path = "../proxmox/proxmox-section-config" } --#proxmox-serde = { path = "../proxmox/proxmox-serde" } --#proxmox-shared-memory = { path = "../proxmox/proxmox-shared-memory" } --#proxmox-sortable-macro = { path = "../proxmox/proxmox-sortable-macro" } ++proxmox-rrd = { path = "../proxmox/proxmox-rrd" } ++proxmox-rrd-api-types = { path = "../proxmox/proxmox-rrd-api-types" } +proxmox-schema = { path = "../proxmox/proxmox-schema" } +proxmox-section-config = { path = "../proxmox/proxmox-section-config" } +proxmox-serde = { path = "../proxmox/proxmox-serde" } +proxmox-shared-memory = { path = "../proxmox/proxmox-shared-memory" } +proxmox-sortable-macro = { path = "../proxmox/proxmox-sortable-macro" } - #proxmox-subscription = { path = "../proxmox/proxmox-subscription" } --#proxmox-sys = { path = "../proxmox/proxmox-sys" } --#proxmox-systemd = { path = "../proxmox/proxmox-systemd" } ++proxmox-subscription = { path = "../proxmox/proxmox-subscription" } +proxmox-sys = { path = "../proxmox/proxmox-sys" } +proxmox-systemd = { path = "../proxmox/proxmox-systemd" } - #proxmox-tfa = { path = "../proxmox/proxmox-tfa" } --#proxmox-time = { path = "../proxmox/proxmox-time" } --#proxmox-uuid = { path = "../proxmox/proxmox-uuid" } --#proxmox-worker-task = { path = "../proxmox/proxmox-worker-task" } ++proxmox-tfa = { path = "../proxmox/proxmox-tfa" } +proxmox-time = { path = "../proxmox/proxmox-time" } +proxmox-uuid = { path = "../proxmox/proxmox-uuid" } +proxmox-worker-task = { path = "../proxmox/proxmox-worker-task" } ++proxmox-s3-client = { path = "../proxmox/proxmox-s3-client" } ++proxmox-product-config = { path = "../proxmox/proxmox-product-config" } ++proxmox-shared-cache = { path = "../proxmox/proxmox-shared-cache" } -#pathpatterns = {path = "../pathpatterns" } -#pxar = { path = "../pxar" } @@ -189,5 +105,5 @@ index d38321e3..99d712da 100644 [features] default = [] -- -2.49.0 +2.50.1 diff --git a/pkgs/by-name/pr/proxmox-backup-client/0002-docs-add-target-path-fixup-variable.patch b/pkgs/by-name/pr/proxmox-backup-client/0002-docs-add-target-path-fixup-variable.patch deleted file mode 100644 index 5f09aa9c95a1..000000000000 --- a/pkgs/by-name/pr/proxmox-backup-client/0002-docs-add-target-path-fixup-variable.patch +++ /dev/null @@ -1,25 +0,0 @@ -From b71b5bab3fadc663d322e3ef2faa8f098423fb03 Mon Sep 17 00:00:00 2001 -From: Christoph Heiss -Date: Tue, 24 Dec 2024 17:22:35 +0100 -Subject: [PATCH 2/5] docs: add target path fixup variable - -Signed-off-by: Christoph Heiss ---- - docs/Makefile | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/docs/Makefile b/docs/Makefile -index c57cbbc2..fa00729e 100644 ---- a/docs/Makefile -+++ b/docs/Makefile -@@ -94,6 +94,7 @@ API_VIEWER_FILES := \ - SPHINXOPTS = -E - SPHINXBUILD = sphinx-build - BUILDDIR = output -+DEB_HOST_RUST_TYPE ?= $(RUSTC_TARGET) - - ifeq ($(BUILD_MODE), release) - COMPILEDIR := ../target/$(DEB_HOST_RUST_TYPE)/release --- -2.49.0 - diff --git a/pkgs/by-name/pr/proxmox-backup-client/0004-docs-drop-all-but-client-man-pages.patch b/pkgs/by-name/pr/proxmox-backup-client/0002-docs-drop-all-but-client-man-pages.patch similarity index 92% rename from pkgs/by-name/pr/proxmox-backup-client/0004-docs-drop-all-but-client-man-pages.patch rename to pkgs/by-name/pr/proxmox-backup-client/0002-docs-drop-all-but-client-man-pages.patch index 4db8088010d2..e744ce3c030c 100644 --- a/pkgs/by-name/pr/proxmox-backup-client/0004-docs-drop-all-but-client-man-pages.patch +++ b/pkgs/by-name/pr/proxmox-backup-client/0002-docs-drop-all-but-client-man-pages.patch @@ -1,7 +1,7 @@ -From 846d0b9c8f62340cb0703c59d16414b05a15382a Mon Sep 17 00:00:00 2001 +From 732dc6b91299bda441f52c6d7decddfbfd6e5517 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 29 Nov 2022 17:20:28 +0100 -Subject: [PATCH 4/5] docs: drop all but client man pages +Subject: [PATCH proxmox-backup 2/2] docs: drop all but client man pages Signed-off-by: Thomas Lamprecht Signed-off-by: Christoph Heiss @@ -11,7 +11,7 @@ Signed-off-by: Christoph Heiss 2 files changed, 43 deletions(-) diff --git a/docs/Makefile b/docs/Makefile -index fa00729e..53a420b5 100644 +index 5cf5fc17..85ff3b91 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,27 +1,8 @@ @@ -43,7 +43,7 @@ index fa00729e..53a420b5 100644 MAN1_PAGES := \ diff --git a/docs/conf.py b/docs/conf.py -index a7fa1079..345a0170 100644 +index 64c4f9d4..345a0170 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -93,31 +93,7 @@ rst_epilog += f"\n.. |pbs-copyright| replace:: Copyright (C) {copyright}" @@ -59,7 +59,7 @@ index a7fa1079..345a0170 100644 ('pxar/man1', 'pxar', 'Proxmox File Archive CLI Tool', [author], 1), - ('pmt/man1', 'pmt', 'Control Linux Tape Devices', [author], 1), - ('pmtx/man1', 'pmtx', 'Control SCSI media changer devices (tape autoloaders)', [author], 1), -- ('pbs2to3/man1', 'pbs2to3', 'Proxmox Backup Server upgrade checker script for 2.4+ to current 3.x major upgrades', [author], 1), +- ('pbs3to4/man1', 'pbs3to4', 'Proxmox Backup Server upgrade checker script for 3.4+ to current 4.x major upgrades', [author], 1), - # configs - ('config/acl/man5', 'acl.cfg', 'Access Control Configuration', [author], 5), - ('config/datastore/man5', 'datastore.cfg', 'Datastore Configuration', [author], 5), @@ -79,5 +79,5 @@ index a7fa1079..345a0170 100644 -- -2.49.0 +2.50.1 diff --git a/pkgs/by-name/pr/proxmox-backup-client/0003-cargo-use-local-patched-h2-dependency.patch b/pkgs/by-name/pr/proxmox-backup-client/0003-cargo-use-local-patched-h2-dependency.patch deleted file mode 100644 index fdac6856b983..000000000000 --- a/pkgs/by-name/pr/proxmox-backup-client/0003-cargo-use-local-patched-h2-dependency.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 88f8ac1e5d158ad0a46177b813fd7557cc5e3fbe Mon Sep 17 00:00:00 2001 -From: Christoph Heiss -Date: Tue, 24 Dec 2024 17:35:40 +0100 -Subject: [PATCH 3/5] cargo: use local patched h2 dependency - -Signed-off-by: Christoph Heiss ---- - Cargo.toml | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/Cargo.toml b/Cargo.toml -index 99d712da..091696f1 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -201,6 +201,8 @@ proxmox-worker-task = { path = "../proxmox/proxmox-worker-task" } - pathpatterns = {path = "../pathpatterns" } - pxar = { path = "../pxar" } - -+h2 = { path = "./h2" } -+ - [features] - default = [] - #valgrind = ["valgrind_request"] --- -2.49.0 - diff --git a/pkgs/by-name/pr/proxmox-backup-client/0005-Revert-h2-switch-to-legacy-feature.patch b/pkgs/by-name/pr/proxmox-backup-client/0005-Revert-h2-switch-to-legacy-feature.patch deleted file mode 100644 index 535191c61d0e..000000000000 --- a/pkgs/by-name/pr/proxmox-backup-client/0005-Revert-h2-switch-to-legacy-feature.patch +++ /dev/null @@ -1,198 +0,0 @@ -From b1a06f6a63a63410f89bd0d2968a6fdb7ce2352d Mon Sep 17 00:00:00 2001 -From: Christoph Heiss -Date: Thu, 5 Jun 2025 12:01:10 +0200 -Subject: [PATCH 5/5] Revert "h2: switch to legacy feature" - -This reverts commit 168ed370263e84a6235968c615b856b9280debe1. - -It's a Proxmox-specific workaround (see also the commit description -itself) and does not apply here. - -Signed-off-by: Christoph Heiss ---- - Cargo.toml | 2 +- - examples/h2client.rs | 6 +++--- - examples/h2s-client.rs | 6 +++--- - pbs-client/src/backup_writer.rs | 8 ++++---- - pbs-client/src/http_client.rs | 12 +++++------- - pbs-client/src/pipe_to_stream.rs | 2 +- - 6 files changed, 17 insertions(+), 19 deletions(-) - -diff --git a/Cargo.toml b/Cargo.toml -index 091696f1..063f62f8 100644 ---- a/Cargo.toml -+++ b/Cargo.toml -@@ -122,7 +122,7 @@ env_logger = "0.11" - flate2 = "1.0" - foreign-types = "0.3" - futures = "0.3" --h2 = { version = "0.4", features = [ "legacy", "stream" ] } -+h2 = { version = "0.4", features = [ "stream" ] } - handlebars = "3.0" - hex = "0.4.3" - hickory-resolver = { version = "0.24.1", default-features = false, features = [ "system-config", "tokio-runtime" ] } -diff --git a/examples/h2client.rs b/examples/h2client.rs -index e44c43fa..1dcb4498 100644 ---- a/examples/h2client.rs -+++ b/examples/h2client.rs -@@ -10,7 +10,7 @@ use tokio::net::TcpStream; - // Simple H2 client to test H2 download speed using h2server.rs - - struct Process { -- body: h2::legacy::RecvStream, -+ body: h2::RecvStream, - trailers: bool, - bytes: usize, - } -@@ -50,7 +50,7 @@ impl Future for Process { - } - - fn send_request( -- mut client: h2::legacy::client::SendRequest, -+ mut client: h2::client::SendRequest, - ) -> impl Future> { - println!("sending request"); - -@@ -78,7 +78,7 @@ async fn run() -> Result<(), Error> { - let conn = TcpStream::connect(std::net::SocketAddr::from(([127, 0, 0, 1], 8008))).await?; - conn.set_nodelay(true).unwrap(); - -- let (client, h2) = h2::legacy::client::Builder::new() -+ let (client, h2) = h2::client::Builder::new() - .initial_connection_window_size(1024 * 1024 * 1024) - .initial_window_size(1024 * 1024 * 1024) - .max_frame_size(4 * 1024 * 1024) -diff --git a/examples/h2s-client.rs b/examples/h2s-client.rs -index 86b3a931..a12b5a48 100644 ---- a/examples/h2s-client.rs -+++ b/examples/h2s-client.rs -@@ -10,7 +10,7 @@ use tokio::net::TcpStream; - // Simple H2 client to test H2 download speed using h2s-server.rs - - struct Process { -- body: h2::legacy::RecvStream, -+ body: h2::RecvStream, - trailers: bool, - bytes: usize, - } -@@ -50,7 +50,7 @@ impl Future for Process { - } - - fn send_request( -- mut client: h2::legacy::client::SendRequest, -+ mut client: h2::client::SendRequest, - ) -> impl Future> { - println!("sending request"); - -@@ -94,7 +94,7 @@ async fn run() -> Result<(), Error> { - .await - .map_err(|err| format_err!("connect failed - {}", err))?; - -- let (client, h2) = h2::legacy::client::Builder::new() -+ let (client, h2) = h2::client::Builder::new() - .initial_connection_window_size(1024 * 1024 * 1024) - .initial_window_size(1024 * 1024 * 1024) - .max_frame_size(4 * 1024 * 1024) -diff --git a/pbs-client/src/backup_writer.rs b/pbs-client/src/backup_writer.rs -index 32542506..1253ef56 100644 ---- a/pbs-client/src/backup_writer.rs -+++ b/pbs-client/src/backup_writer.rs -@@ -56,7 +56,7 @@ pub struct UploadOptions { - } - - struct ChunkUploadResponse { -- future: h2::legacy::client::ResponseFuture, -+ future: h2::client::ResponseFuture, - size: usize, - } - -@@ -143,7 +143,7 @@ impl BackupWriter { - param: Option, - content_type: &str, - data: Vec, -- ) -> Result { -+ ) -> Result { - let request = - H2Client::request_builder("localhost", method, path, param, Some(content_type)) - .unwrap(); -@@ -514,7 +514,7 @@ impl BackupWriter { - } - - fn response_queue() -> ( -- mpsc::Sender, -+ mpsc::Sender, - oneshot::Receiver>, - ) { - let (verify_queue_tx, verify_queue_rx) = mpsc::channel(100); -@@ -537,7 +537,7 @@ impl BackupWriter { - tokio::spawn( - ReceiverStream::new(verify_queue_rx) - .map(Ok::<_, Error>) -- .try_for_each(move |response: h2::legacy::client::ResponseFuture| { -+ .try_for_each(move |response: h2::client::ResponseFuture| { - response - .map_err(Error::from) - .and_then(H2Client::h2api_response) -diff --git a/pbs-client/src/http_client.rs b/pbs-client/src/http_client.rs -index c95def07..8f6f8b41 100644 ---- a/pbs-client/src/http_client.rs -+++ b/pbs-client/src/http_client.rs -@@ -863,7 +863,7 @@ impl HttpClient { - - let max_window_size = (1 << 31) - 2; - -- let (h2, connection) = h2::legacy::client::Builder::new() -+ let (h2, connection) = h2::client::Builder::new() - .initial_connection_window_size(max_window_size) - .initial_window_size(max_window_size) - .max_frame_size(4 * 1024 * 1024) -@@ -1008,11 +1008,11 @@ impl Drop for HttpClient { - - #[derive(Clone)] - pub struct H2Client { -- h2: h2::legacy::client::SendRequest, -+ h2: h2::client::SendRequest, - } - - impl H2Client { -- pub fn new(h2: h2::legacy::client::SendRequest) -> Self { -+ pub fn new(h2: h2::client::SendRequest) -> Self { - Self { h2 } - } - -@@ -1092,7 +1092,7 @@ impl H2Client { - &self, - request: Request<()>, - data: Option, -- ) -> impl Future> { -+ ) -> impl Future> { - self.h2 - .clone() - .ready() -@@ -1109,9 +1109,7 @@ impl H2Client { - }) - } - -- pub async fn h2api_response( -- response: Response, -- ) -> Result { -+ pub async fn h2api_response(response: Response) -> Result { - let status = response.status(); - - let (_head, mut body) = response.into_parts(); -diff --git a/pbs-client/src/pipe_to_stream.rs b/pbs-client/src/pipe_to_stream.rs -index 3fc942d3..ae689851 100644 ---- a/pbs-client/src/pipe_to_stream.rs -+++ b/pbs-client/src/pipe_to_stream.rs -@@ -8,7 +8,7 @@ use std::task::{Context, Poll}; - use anyhow::{format_err, Error}; - use bytes::Bytes; - use futures::{ready, Future}; --use h2::legacy::SendStream; -+use h2::SendStream; - - pub struct PipeToSendStream { - body_tx: SendStream, --- -2.49.0 - diff --git a/pkgs/by-name/pr/proxmox-backup-client/Cargo.lock b/pkgs/by-name/pr/proxmox-backup-client/Cargo.lock index 9c10cf28e635..ed84bf66b86a 100644 --- a/pkgs/by-name/pr/proxmox-backup-client/Cargo.lock +++ b/pkgs/by-name/pr/proxmox-backup-client/Cargo.lock @@ -13,9 +13,9 @@ dependencies = [ [[package]] name = "adler2" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "ahash" @@ -45,10 +45,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] -name = "anstream" -version = "0.6.19" +name = "android-tzdata" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "301af1932e46185686725e0fad2f8f2aa7da69dd70bf6ecc44d6b703844a3933" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + +[[package]] +name = "android_system_properties" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +dependencies = [ + "libc", +] + +[[package]] +name = "anstream" +version = "0.6.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ae563653d1938f79b1ab1b5e668c87c76a9930414574a6583a7b7e11a8e6192" dependencies = [ "anstyle", "anstyle-parse", @@ -76,29 +91,79 @@ dependencies = [ [[package]] name = "anstyle-query" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8bdeb6047d8983be085bab0ba1472e6dc604e7041dbf6fcd5e71523014fae9" +checksum = "9e231f6134f61b71076a3eab506c379d4f36122f2af15a9ff04415ea4c3339e2" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.9" +version = "3.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "403f75924867bb1033c59fbf0797484329750cfbe3c4325cd33127941fabc882" +checksum = "3e0633414522a32ffaac8ac6cc8f748e090c5717661fddeea04219e2344f5f2a" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] name = "anyhow" -version = "1.0.98" +version = "1.0.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" +checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100" + +[[package]] +name = "apt-pkg-native" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "27561515e1a5c565ef86a1414c644c1884c521cf8a98a781081c76b5a75471c2" +dependencies = [ + "cc", + "lazy_static", + "libc", +] + +[[package]] +name = "asn1-rs" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048" +dependencies = [ + "asn1-rs-derive", + "asn1-rs-impl", + "displaydoc", + "nom 7.1.3", + "num-traits", + "rusticata-macros", + "thiserror 1.0.69", + "time", +] + +[[package]] +name = "asn1-rs-derive" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490" +dependencies = [ + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", + "synstructure", +] + +[[package]] +name = "asn1-rs-impl" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7" +dependencies = [ + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", +] [[package]] name = "async-trait" @@ -106,9 +171,9 @@ version = "0.1.88" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e539d3fca749fcee5236ab05e93a52867dd549cc157c8cb7f99595f3cedffdb5" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] @@ -119,9 +184,9 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "autocfg" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "backtrace" @@ -139,10 +204,22 @@ dependencies = [ ] [[package]] -name = "base64" -version = "0.13.1" +name = "base16ct" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + +[[package]] +name = "base32" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23ce669cd6c8588f79e15cf450314f9638f967fc5770ff1c7c1deb0925ea7cfa" + +[[package]] +name = "base64" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "base64" @@ -151,28 +228,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] -name = "bindgen" -version = "0.71.1" +name = "base64ct" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f58bf3d7db68cfbac37cfc485a8d711e87e064c3d0fe0435b92f7a407f9d6b3" -dependencies = [ - "bitflags 2.9.1", - "cexpr", - "clang-sys", - "itertools", - "proc-macro2 1.0.95", - "quote 1.0.40", - "regex", - "rustc-hash", - "shlex", - "syn 2.0.101", -] +checksum = "55248b47b0caf0546f7988906588779981c43bb1bc9d0c44087278f80cdb44ba" [[package]] -name = "bitflags" -version = "1.3.2" +name = "base64urlsafedata" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +checksum = "e5913e643e4dfb43d5908e9e6f1386f8e0dfde086ecef124a6450c6195d89160" +dependencies = [ + "base64 0.21.7", + "pastey", + "serde", +] [[package]] name = "bitflags" @@ -191,9 +261,15 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.17.0" +version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf" +checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" @@ -203,9 +279,9 @@ checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a" [[package]] name = "cc" -version = "1.2.25" +version = "1.2.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0fc897dc1e865cc67c0e05a836d9d3f1df3cbe442aa4a9473b18e12624a4951" +checksum = "2352e5597e9c544d5e6d9c95190d5d27738ade584fa8db0a16e130e5c2b5296e" dependencies = [ "jobserver", "libc", @@ -213,19 +289,37 @@ dependencies = [ ] [[package]] -name = "cexpr" -version = "0.6.0" +name = "cfg-if" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" -dependencies = [ - "nom 7.1.3", -] +checksum = "9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268" [[package]] -name = "cfg-if" -version = "1.0.0" +name = "cfg_aliases" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" + +[[package]] +name = "cfg_aliases" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" + +[[package]] +name = "chrono" +version = "0.4.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d" +dependencies = [ + "android-tzdata", + "iana-time-zone", + "js-sys", + "num-traits", + "serde", + "wasm-bindgen", + "windows-link", +] [[package]] name = "chumsky" @@ -238,25 +332,18 @@ dependencies = [ ] [[package]] -name = "clang-sys" -version = "1.8.1" +name = "cidr" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" -dependencies = [ - "glob", - "libc", - "libloading", -] +checksum = "bd1b64030216239a2e7c364b13cd96a2097ebf0dfe5025f2dedee14a23f2ab60" [[package]] name = "clipboard-win" -version = "4.5.0" +version = "5.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7191c27c2357d9b7ef96baac1773290d4ca63b24205b82a3fd8a0637afcf0362" +checksum = "bde03770d3df201d4fb868f2c9c59e66a3e4e2bd06692a0fe701e7103c7e84d4" dependencies = [ "error-code", - "str-buf", - "winapi", ] [[package]] @@ -265,6 +352,12 @@ version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + [[package]] name = "const_format" version = "0.2.34" @@ -280,7 +373,7 @@ version = "0.2.34" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d57c2eccfb16dbac1f4e61e206105db5820c9d26c3c472bc17c774259ef7744" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", "unicode-xid 0.2.6", ] @@ -312,13 +405,40 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.4.2" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" dependencies = [ "cfg-if", ] +[[package]] +name = "crossbeam-channel" +version = "0.5.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" + +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array", + "rand_core", + "subtle", + "zeroize", +] + [[package]] name = "crypto-common" version = "0.1.6" @@ -329,12 +449,109 @@ dependencies = [ "typenum", ] +[[package]] +name = "curve25519-dalek" +version = "4.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" +dependencies = [ + "cfg-if", + "cpufeatures", + "curve25519-dalek-derive", + "digest", + "fiat-crypto", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", +] + +[[package]] +name = "darling" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2 1.0.97", + "quote 1.0.40", + "strsim", + "syn 2.0.104", +] + +[[package]] +name = "darling_macro" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" +dependencies = [ + "darling_core", + "quote 1.0.40", + "syn 2.0.104", +] + [[package]] name = "data-encoding" version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476" +[[package]] +name = "der" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb" +dependencies = [ + "const-oid", + "pem-rfc7468", + "zeroize", +] + +[[package]] +name = "der-parser" +version = "9.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5cd0a5c643689626bec213c4d8bd4d96acc8ffdb4ad4bb6bc16abf27d5f4b553" +dependencies = [ + "asn1-rs", + "displaydoc", + "nom 7.1.3", + "num-bigint", + "num-traits", + "rusticata-macros", +] + +[[package]] +name = "deranged" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" +dependencies = [ + "powerfmt", + "serde", +] + [[package]] name = "digest" version = "0.10.7" @@ -342,28 +559,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer", + "const-oid", "crypto-common", -] - -[[package]] -name = "dirs-next" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1" -dependencies = [ - "cfg-if", - "dirs-sys-next", -] - -[[package]] -name = "dirs-sys-next" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d" -dependencies = [ - "libc", - "redox_users", - "winapi", + "subtle", ] [[package]] @@ -372,9 +570,53 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", +] + +[[package]] +name = "dyn-clone" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" + +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der", + "digest", + "elliptic-curve", + "rfc6979", + "signature", + "spki", +] + +[[package]] +name = "ed25519" +version = "2.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" +dependencies = [ + "pkcs8", + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70e796c081cee67dc755e1a36a0a172b897fab85fc3f6bc48307991f64e4eca9" +dependencies = [ + "curve25519-dalek", + "ed25519", + "serde", + "sha2", + "subtle", + "zeroize", ] [[package]] @@ -383,6 +625,27 @@ version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct", + "crypto-bigint", + "digest", + "ff", + "generic-array", + "group", + "hkdf", + "pem-rfc7468", + "pkcs8", + "rand_core", + "sec1", + "subtle", + "zeroize", +] + [[package]] name = "email-encoding" version = "0.4.1" @@ -431,9 +694,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1e6a265c649f3f5979b601d26f1d05ada116434c87741c9493cb56218f76cbc" dependencies = [ "heck", - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] @@ -467,23 +730,28 @@ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "errno" -version = "0.3.12" +version = "0.3.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18" +checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.60.2", +] + +[[package]] +name = "error-chain" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc" +dependencies = [ + "version_check", ] [[package]] name = "error-code" -version = "2.3.1" +version = "3.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64f18991e7bf11e7ffee451b5318b5c1a73c52d0d0ada6e5a3017c8c1ced6a21" -dependencies = [ - "libc", - "str-buf", -] +checksum = "dea2df4cf52843e0452895c455a1a2cfbb842a1e7329671acf418fdc53ed4c59" [[package]] name = "fastrand" @@ -493,15 +761,31 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "fd-lock" -version = "3.0.13" +version = "4.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef033ed5e9bad94e55838ca0ca906db0e043f517adda0c8b79c7a8c66c93c1b5" +checksum = "0ce92ff622d6dadf7349484f42c93271a0d49b7cc4d466a936405bacbe10aa78" dependencies = [ "cfg-if", - "rustix 0.38.44", - "windows-sys 0.48.0", + "rustix", + "windows-sys 0.59.0", ] +[[package]] +name = "ff" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0b50bfb653653f9ca9095b427bed08ab8d75a137839d9ad64eb11810d5b6393" +dependencies = [ + "rand_core", + "subtle", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" + [[package]] name = "filetime" version = "0.2.25" @@ -516,14 +800,20 @@ dependencies = [ [[package]] name = "flate2" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece" +checksum = "4a3d7db9596fecd151c5f638c0ee5d5bd487b6e0ea232e5dc96d5250f6f94b1d" dependencies = [ "crc32fast", "miniz_oxide", ] +[[package]] +name = "fmt2io" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b6129284da9f7e5296cc22183a63f24300e945e297705dcc0672f7df01d62c8" + [[package]] name = "fnv" version = "1.0.7" @@ -608,9 +898,9 @@ version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] @@ -651,6 +941,7 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", + "zeroize", ] [[package]] @@ -660,8 +951,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ "cfg-if", + "js-sys", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi 0.11.1+wasi-snapshot-preview1", + "wasm-bindgen", ] [[package]] @@ -683,33 +976,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] -name = "glob" -version = "0.3.2" +name = "group" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" - -[[package]] -name = "h2" -version = "0.3.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fe527a889e1532da5c525686d96d4c2e74cdd345badf8dfef9f6b39dd5f5e8" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" dependencies = [ - "bytes", - "fnv", - "futures-core", - "futures-sink", - "futures-util", - "http", - "indexmap", - "slab", - "tokio", - "tokio-util", - "tracing", + "ff", + "rand_core", + "subtle", ] [[package]] name = "h2" -version = "0.4.10" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3c0b69cfcb4e1b9f1bf2f53f95f766e4661169728ec61cd3fe5a0166f2d1386" dependencies = [ "atomic-waker", "bytes", @@ -717,7 +998,7 @@ dependencies = [ "futures-core", "futures-sink", "http", - "indexmap", + "indexmap 2.10.0", "slab", "tokio", "tokio-util", @@ -725,19 +1006,31 @@ dependencies = [ ] [[package]] -name = "handlebars" -version = "3.5.5" +name = "half" +version = "1.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4498fc115fa7d34de968184e473529abb40eeb6be8bc5f7faba3d08c316cb3e3" +checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403" + +[[package]] +name = "handlebars" +version = "5.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d08485b96a0e6393e9e4d1b8d48cf74ad6c063cd905eb33f42c1ce3f0377539b" dependencies = [ "log", "pest", "pest_derive", - "quick-error", "serde", "serde_json", + "thiserror 1.0.69", ] +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + [[package]] name = "hashbrown" version = "0.14.5" @@ -750,9 +1043,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.15.3" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84b26c544d002229e640969970a2e74021aadf6e2f96372b9c58eff97de08eb3" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" [[package]] name = "heck" @@ -760,6 +1053,12 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +[[package]] +name = "hermit-abi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" + [[package]] name = "hex" version = "0.4.3" @@ -814,6 +1113,44 @@ dependencies = [ "tracing", ] +[[package]] +name = "hkdf" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" +dependencies = [ + "hmac", +] + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest", +] + +[[package]] +name = "home" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" +dependencies = [ + "windows-sys 0.59.0", +] + +[[package]] +name = "hostname" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" +dependencies = [ + "libc", + "match_cfg", + "winapi", +] + [[package]] name = "hostname" version = "0.4.1" @@ -827,9 +1164,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.12" +version = "1.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" +checksum = "f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565" dependencies = [ "bytes", "fnv", @@ -838,12 +1175,24 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.6" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" +checksum = "1efedce1fb8e6913f23e0c92de8e62cd5b772a67e7b3946df930a62566c93184" dependencies = [ "bytes", "http", +] + +[[package]] +name = "http-body-util" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" +dependencies = [ + "bytes", + "futures-core", + "http", + "http-body", "pin-project-lite", ] @@ -861,26 +1210,68 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hyper" -version = "0.14.32" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41dfc780fdec9373c01bae43289ea34c972e40ee3c9f6b3c8801a35f35586ce7" +checksum = "cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80" dependencies = [ "bytes", "futures-channel", - "futures-core", "futures-util", - "h2 0.3.26", + "h2", "http", "http-body", "httparse", "httpdate", "itoa", "pin-project-lite", - "socket2", + "smallvec", + "tokio", + "want", +] + +[[package]] +name = "hyper-util" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d9b05277c7e8da2c93a568989bb6207bef0112e8d17df7a6eda4a3cf143bc5e" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "http", + "http-body", + "hyper", + "libc", + "pin-project-lite", + "socket2 0.6.0", "tokio", "tower-service", "tracing", - "want", +] + +[[package]] +name = "iana-time-zone" +version = "0.1.63" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8" +dependencies = [ + "android_system_properties", + "core-foundation-sys", + "iana-time-zone-haiku", + "js-sys", + "log", + "wasm-bindgen", + "windows-core", +] + +[[package]] +name = "iana-time-zone-haiku" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +dependencies = [ + "cc", ] [[package]] @@ -969,6 +1360,12 @@ dependencies = [ "zerovec", ] +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + [[package]] name = "idna" version = "1.0.3" @@ -992,12 +1389,46 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.9.0" +version = "1.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", + "serde", +] + +[[package]] +name = "indexmap" +version = "2.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661" dependencies = [ "equivalent", - "hashbrown 0.15.3", + "hashbrown 0.15.5", + "serde", +] + +[[package]] +name = "io-lifetimes" +version = "1.0.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" +dependencies = [ + "hermit-abi", + "libc", + "windows-sys 0.48.0", +] + +[[package]] +name = "io-uring" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4" +dependencies = [ + "bitflags", + "cfg-if", + "libc", ] [[package]] @@ -1006,7 +1437,7 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b58db92f96b720de98181bbbe63c831e87005ab460c1bf306eb2622b4707997f" dependencies = [ - "socket2", + "socket2 0.5.10", "widestring", "windows-sys 0.48.0", "winreg", @@ -1025,10 +1456,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] -name = "itertools" -version = "0.13.0" +name = "iso8601" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +checksum = "e1082f0c48f143442a1ac6122f67e360ceee130b967af4d50996e5154a45df46" +dependencies = [ + "nom 8.0.0", +] + +[[package]] +name = "itertools" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" dependencies = [ "either", ] @@ -1041,9 +1481,9 @@ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "jiff" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a194df1107f33c79f4f93d02c80798520551949d59dfad22b6157048a88cca93" +checksum = "be1f93b8b1eb69c77f24bbb0afdf66f54b632ee39af40ca21c4365a1d7347e49" dependencies = [ "jiff-static", "log", @@ -1054,13 +1494,13 @@ dependencies = [ [[package]] name = "jiff-static" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c6e1db7ed32c6c71b759497fae34bf7933636f75a251b9e736555da426f6442" +checksum = "03343451ff899767262ec32146f6d559dd759fdadf42ff0e227c7c48f72594b4" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] @@ -1088,12 +1528,49 @@ name = "lazy_static" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" +dependencies = [ + "spin", +] + +[[package]] +name = "lber" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2df7f9fd9f64cf8f59e1a4a0753fe7d575a5b38d3d7ac5758dcee9357d83ef0a" +dependencies = [ + "bytes", + "nom 7.1.3", +] + +[[package]] +name = "ldap3" +version = "0.11.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "166199a8207874a275144c8a94ff6eed5fcbf5c52303e4d9b4d53a0c7ac76554" +dependencies = [ + "async-trait", + "bytes", + "futures", + "futures-util", + "lazy_static", + "lber", + "log", + "native-tls", + "nom 7.1.3", + "percent-encoding", + "thiserror 1.0.69", + "tokio", + "tokio-native-tls", + "tokio-stream", + "tokio-util", + "url", +] [[package]] name = "lettre" -version = "0.11.16" +version = "0.11.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87ffd14fa289730e3ad68edefdc31f603d56fe716ec38f2076bb7410e09147c2" +checksum = "5cb54db6ff7a89efac87dba5baeac57bb9ccd726b49a9b6f21fb92b3966aaf56" dependencies = [ "base64 0.22.1", "chumsky", @@ -1101,7 +1578,7 @@ dependencies = [ "email_address", "fastrand", "futures-util", - "hostname", + "hostname 0.4.1", "httpdate", "idna", "mime", @@ -1109,34 +1586,30 @@ dependencies = [ "nom 8.0.0", "percent-encoding", "quoted_printable", - "socket2", + "socket2 0.6.0", "tokio", "url", ] [[package]] name = "libc" -version = "0.2.172" +version = "0.2.175" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" +checksum = "6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543" [[package]] -name = "libloading" -version = "0.8.8" +name = "libm" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667" -dependencies = [ - "cfg-if", - "windows-targets 0.53.0", -] +checksum = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de" [[package]] name = "libredox" -version = "0.1.3" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "391290121bad3d37fbddad76d8f5d1c1c314cfc646d143d7e07a3086ddff0ce3" dependencies = [ - "bitflags 2.9.1", + "bitflags", "libc", "redox_syscall", ] @@ -1157,12 +1630,6 @@ version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" -[[package]] -name = "linux-raw-sys" -version = "0.4.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" - [[package]] name = "linux-raw-sys" version = "0.9.4" @@ -1200,26 +1667,29 @@ dependencies = [ "linked-hash-map", ] +[[package]] +name = "match_cfg" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" + +[[package]] +name = "md5" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" + [[package]] name = "memchr" -version = "2.7.4" +version = "2.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +checksum = "32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0" [[package]] name = "memoffset" -version = "0.6.5" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" -dependencies = [ - "autocfg", -] - -[[package]] -name = "memoffset" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" +checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" dependencies = [ "autocfg", ] @@ -1238,9 +1708,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.8.8" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3be647b768db090acb35d5ec5db2b0e1f1de11133ca123b9eacf5137868f892a" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", ] @@ -1252,7 +1722,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c" dependencies = [ "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi 0.11.1+wasi-snapshot-preview1", "windows-sys 0.59.0", ] @@ -1284,28 +1754,27 @@ dependencies = [ [[package]] name = "nix" -version = "0.23.2" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3790c00a0150112de0f4cd161e3d7fc4b2d8a5542ffc35f099a2562aecb35c" +checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" dependencies = [ - "bitflags 1.3.2", - "cc", + "bitflags", "cfg-if", + "cfg_aliases 0.1.1", "libc", - "memoffset 0.6.5", ] [[package]] name = "nix" -version = "0.26.4" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" +checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ - "bitflags 1.3.2", + "bitflags", "cfg-if", + "cfg_aliases 0.2.1", "libc", - "memoffset 0.7.1", - "pin-utils", + "memoffset", ] [[package]] @@ -1337,6 +1806,97 @@ dependencies = [ "winapi", ] +[[package]] +name = "num-bigint" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" +dependencies = [ + "num-integer", + "num-traits", +] + +[[package]] +name = "num-bigint-dig" +version = "0.8.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc84195820f291c7697304f3cbdadd1cb7199c0efc917ff5eafd71225c136151" +dependencies = [ + "byteorder", + "lazy_static", + "libm", + "num-integer", + "num-iter", + "num-traits", + "rand", + "smallvec", + "zeroize", +] + +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + +[[package]] +name = "num-integer" +version = "0.1.46" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +dependencies = [ + "num-traits", +] + +[[package]] +name = "num-iter" +version = "0.1.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" +dependencies = [ + "autocfg", + "libm", +] + +[[package]] +name = "num_threads" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9" +dependencies = [ + "libc", +] + +[[package]] +name = "oauth2" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51e219e79014df21a225b1860a479e2dcd7cbd9130f4defd4bd0e191ea31d67d" +dependencies = [ + "base64 0.22.1", + "chrono", + "getrandom 0.2.16", + "http", + "rand", + "serde", + "serde_json", + "serde_path_to_error", + "sha2", + "thiserror 1.0.69", + "url", +] + [[package]] name = "object" version = "0.36.7" @@ -1346,6 +1906,15 @@ dependencies = [ "memchr", ] +[[package]] +name = "oid-registry" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a8d8034d9489cdaf79228eb9f6a3b8d7bb32ba00d6645ebd48eef4077ceb5bd9" +dependencies = [ + "asn1-rs", +] + [[package]] name = "once_cell" version = "1.21.3" @@ -1358,13 +1927,44 @@ version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad" +[[package]] +name = "openidconnect" +version = "4.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d8c6709ba2ea764bbed26bce1adf3c10517113ddea6f2d4196e4851757ef2b2" +dependencies = [ + "base64 0.21.7", + "chrono", + "dyn-clone", + "ed25519-dalek", + "hmac", + "http", + "itertools", + "log", + "oauth2", + "p256", + "p384", + "rand", + "rsa", + "serde", + "serde-value", + "serde_json", + "serde_path_to_error", + "serde_plain", + "serde_with", + "sha2", + "subtle", + "thiserror 1.0.69", + "url", +] + [[package]] name = "openssl" version = "0.10.73" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8" dependencies = [ - "bitflags 2.9.1", + "bitflags", "cfg-if", "foreign-types", "libc", @@ -1379,9 +1979,9 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] @@ -1402,12 +2002,54 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "ordered-float" +version = "2.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "68f19d67e5a2795c94e73e0bb1cc1a7edeb2e28efd39e2e1c9b7a40c1108b11c" +dependencies = [ + "num-traits", +] + [[package]] name = "overload" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" +[[package]] +name = "p256" +version = "0.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" +dependencies = [ + "ecdsa", + "elliptic-curve", + "primeorder", + "sha2", +] + +[[package]] +name = "p384" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe42f1670a52a47d448f14b6a5c61dd78fce51856e68edaa38f7ae3a46b8d6b6" +dependencies = [ + "ecdsa", + "elliptic-curve", + "primeorder", + "sha2", +] + +[[package]] +name = "pam-sys" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd4858311a097f01a0006ef7d0cd50bca81ec430c949d7bf95cbefd202282434" +dependencies = [ + "libc", +] + [[package]] name = "parking_lot" version = "0.12.4" @@ -1431,17 +2073,23 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "pastey" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35fb2e5f958ec131621fdd531e9fc186ed768cbe395337403ae56c17a74c68ec" + [[package]] name = "pathpatterns" -version = "0.3.0" +version = "1.0.0" dependencies = [ - "bitflags 1.3.2", + "bitflags", "libc", ] [[package]] name = "pbs-api-types" -version = "0.2.2" +version = "1.0.3" dependencies = [ "anyhow", "const_format", @@ -1451,6 +2099,7 @@ dependencies = [ "proxmox-auth-api", "proxmox-human-byte", "proxmox-lang", + "proxmox-s3-client", "proxmox-schema", "proxmox-serde", "proxmox-time", @@ -1462,22 +2111,24 @@ dependencies = [ [[package]] name = "pbs-buildcfg" -version = "3.4.2" +version = "4.0.13" [[package]] name = "pbs-client" version = "0.1.0" dependencies = [ "anyhow", - "bitflags 2.9.1", + "bitflags", "bytes", "futures", - "h2 0.4.10", + "h2", "hex", "hickory-resolver", + "http-body-util", "hyper", + "hyper-util", "libc", - "nix 0.26.4", + "nix 0.29.0", "openssl", "pathpatterns", "pbs-api-types", @@ -1515,13 +2166,14 @@ dependencies = [ "anyhow", "const_format", "libc", - "nix 0.26.4", + "nix 0.29.0", "once_cell", "openssl", "pbs-api-types", "pbs-buildcfg", "proxmox-notify", "proxmox-router", + "proxmox-s3-client", "proxmox-schema", "proxmox-section-config", "proxmox-shared-memory", @@ -1538,15 +2190,16 @@ name = "pbs-datastore" version = "0.1.0" dependencies = [ "anyhow", - "base64 0.13.1", "const_format", "crc32fast", "endian_trait", "futures", "hex", + "http-body-util", + "hyper", "libc", "log", - "nix 0.26.4", + "nix 0.29.0", "openssl", "pathpatterns", "pbs-api-types", @@ -1554,10 +2207,14 @@ dependencies = [ "pbs-config", "pbs-key-config", "pbs-tools", + "proxmox-async", + "proxmox-base64", "proxmox-borrow", + "proxmox-http", "proxmox-human-byte", "proxmox-io", "proxmox-lang", + "proxmox-s3-client", "proxmox-schema", "proxmox-serde", "proxmox-sys", @@ -1584,7 +2241,7 @@ dependencies = [ "futures", "libc", "log", - "nix 0.26.4", + "nix 0.29.0", "proxmox-fuse", "proxmox-sys", "proxmox-time", @@ -1597,7 +2254,7 @@ name = "pbs-key-config" version = "0.1.0" dependencies = [ "anyhow", - "nix 0.26.4", + "nix 0.29.0", "openssl", "pbs-api-types", "pbs-tools", @@ -1630,12 +2287,12 @@ name = "pbs-tape" version = "0.1.0" dependencies = [ "anyhow", - "bitflags 2.9.1", + "bitflags", "endian_trait", "hex", "libc", "log", - "nix 0.26.4", + "nix 0.29.0", "openssl", "pbs-api-types", "pbs-buildcfg", @@ -1651,7 +2308,7 @@ dependencies = [ "regex", "serde", "serde_json", - "thiserror 1.0.69", + "thiserror 2.0.14", "udev", ] @@ -1675,6 +2332,15 @@ dependencies = [ "tokio", ] +[[package]] +name = "pem-rfc7468" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412" +dependencies = [ + "base64ct", +] + [[package]] name = "percent-encoding" version = "2.3.1" @@ -1683,20 +2349,20 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "198db74531d58c70a361c42201efde7e2591e976d518caf7662a47dc5720e7b6" +checksum = "1db05f56d34358a8b1066f67cbb203ee3e7ed2ba674a6263a1d5ec6db2204323" dependencies = [ "memchr", - "thiserror 2.0.12", + "thiserror 2.0.14", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d725d9cfd79e87dccc9341a2ef39d1b6f6353d68c4b33c177febbe1a402c97c5" +checksum = "bb056d9e8ea77922845ec74a1c4e8fb17e7c218cc4fc11a15c5d25e189aa40bc" dependencies = [ "pest", "pest_generator", @@ -1704,24 +2370,23 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db7d01726be8ab66ab32f9df467ae8b1148906685bbe75c82d1e65d7f5b3f841" +checksum = "87e404e638f781eb3202dc82db6760c8ae8a1eeef7fb3fa8264b2ef280504966" dependencies = [ "pest", "pest_meta", - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] name = "pest_meta" -version = "2.8.0" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f9f832470494906d1fca5329f8ab5791cc60beb230c74815dff541cbd2b5ca0" +checksum = "edd1101f170f5903fde0914f899bb503d9ff5271d7ba76bbb70bea63690cc0d5" dependencies = [ - "once_cell", "pest", "sha2", ] @@ -1738,6 +2403,27 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "pkcs1" +version = "0.7.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8ffb9f10fa047879315e6625af03c164b16962a5368d724ed16323b68ace47f" +dependencies = [ + "der", + "pkcs8", + "spki", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + [[package]] name = "pkg-config" version = "0.3.32" @@ -1746,9 +2432,9 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "portable-atomic" -version = "1.11.0" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e" +checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" [[package]] name = "portable-atomic-util" @@ -1768,6 +2454,12 @@ dependencies = [ "zerovec", ] +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" version = "0.2.21" @@ -1777,6 +2469,15 @@ dependencies = [ "zerocopy", ] +[[package]] +name = "primeorder" +version = "0.13.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" +dependencies = [ + "elliptic-curve", +] + [[package]] name = "proc-macro2" version = "0.2.3" @@ -1788,26 +2489,57 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.95" +version = "1.0.97" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" +checksum = "d61789d7719defeb74ea5fe81f2fdfdbd28a803847077cecce2ff14e1472f6f1" dependencies = [ "unicode-ident", ] +[[package]] +name = "proxmox-acme" +version = "1.0.2" +dependencies = [ + "openssl", + "proxmox-base64", + "proxmox-schema", + "serde", + "serde_json", +] + [[package]] name = "proxmox-api-macro" -version = "1.3.3" +version = "1.4.1" dependencies = [ "anyhow", - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", +] + +[[package]] +name = "proxmox-apt" +version = "0.99.2" +dependencies = [ + "anyhow", + "apt-pkg-native", + "hex", + "log", + "nix 0.29.0", + "openssl", + "proxmox-apt-api-types", + "proxmox-config-digest", + "proxmox-schema", + "proxmox-sys", + "regex", + "rfc822-like", + "serde", + "serde_json", ] [[package]] name = "proxmox-apt-api-types" -version = "1.0.3" +version = "2.0.0" dependencies = [ "proxmox-config-digest", "proxmox-schema", @@ -1817,7 +2549,7 @@ dependencies = [ [[package]] name = "proxmox-async" -version = "0.4.3" +version = "0.5.0" dependencies = [ "anyhow", "futures", @@ -1829,26 +2561,127 @@ dependencies = [ [[package]] name = "proxmox-auth-api" -version = "0.4.8" +version = "1.0.3" dependencies = [ "anyhow", "const_format", + "http", + "hyper", + "libc", + "log", + "openssl", + "pam-sys", + "percent-encoding", + "proxmox-base64", + "proxmox-http", + "proxmox-rest-server", + "proxmox-router", "proxmox-schema", + "proxmox-tfa", + "proxmox-time", "regex", "serde", + "serde_json", "serde_plain", ] [[package]] name = "proxmox-backup" -version = "3.4.2" +version = "4.0.13" +dependencies = [ + "anyhow", + "async-trait", + "bytes", + "cidr", + "const_format", + "crc32fast", + "crossbeam-channel", + "endian_trait", + "futures", + "h2", + "hex", + "http-body-util", + "hyper", + "hyper-util", + "libc", + "log", + "nix 0.29.0", + "nom 7.1.3", + "num-traits", + "once_cell", + "openssl", + "pbs-api-types", + "pbs-buildcfg", + "pbs-client", + "pbs-config", + "pbs-datastore", + "pbs-key-config", + "pbs-tape", + "pbs-tools", + "percent-encoding", + "proxmox-acme", + "proxmox-apt", + "proxmox-apt-api-types", + "proxmox-async", + "proxmox-auth-api", + "proxmox-base64", + "proxmox-compression", + "proxmox-config-digest", + "proxmox-daemon", + "proxmox-http", + "proxmox-human-byte", + "proxmox-io", + "proxmox-lang", + "proxmox-ldap", + "proxmox-log", + "proxmox-metrics", + "proxmox-network-api", + "proxmox-notify", + "proxmox-openid", + "proxmox-product-config", + "proxmox-rest-server", + "proxmox-router", + "proxmox-rrd", + "proxmox-rrd-api-types", + "proxmox-s3-client", + "proxmox-schema", + "proxmox-section-config", + "proxmox-serde", + "proxmox-shared-cache", + "proxmox-shared-memory", + "proxmox-sortable-macro", + "proxmox-subscription", + "proxmox-sys", + "proxmox-systemd", + "proxmox-tfa", + "proxmox-time", + "proxmox-uuid", + "proxmox-worker-task", + "pxar", + "regex", + "rustyline", + "serde", + "serde_json", + "syslog", + "termcolor", + "thiserror 2.0.14", + "tokio", + "tokio-openssl", + "tokio-stream", + "tokio-util", + "tracing", + "udev", + "url", + "walkdir", + "zstd", +] [[package]] name = "proxmox-backup-banner" version = "0.1.0" dependencies = [ "anyhow", - "nix 0.26.4", + "nix 0.29.0", ] [[package]] @@ -1859,7 +2692,7 @@ dependencies = [ "futures", "hyper", "log", - "nix 0.26.4", + "nix 0.29.0", "openssl", "pathpatterns", "pbs-api-types", @@ -1871,6 +2704,7 @@ dependencies = [ "pbs-pxar-fuse", "pbs-tools", "proxmox-async", + "proxmox-http", "proxmox-human-byte", "proxmox-io", "proxmox-log", @@ -1891,12 +2725,20 @@ dependencies = [ ] [[package]] -name = "proxmox-borrow" +name = "proxmox-base64" version = "1.0.1" +dependencies = [ + "base64 0.22.1", + "serde", +] + +[[package]] +name = "proxmox-borrow" +version = "1.1.0" [[package]] name = "proxmox-compression" -version = "0.2.4" +version = "1.0.0" dependencies = [ "anyhow", "bytes", @@ -1916,18 +2758,68 @@ dependencies = [ [[package]] name = "proxmox-config-digest" -version = "0.1.1" +version = "1.0.0" dependencies = [ "anyhow", "hex", + "openssl", "proxmox-schema", "serde", "serde_plain", ] +[[package]] +name = "proxmox-daemon" +version = "1.0.0" +dependencies = [ + "anyhow", + "futures", + "libc", + "log", + "nix 0.29.0", + "proxmox-sys", + "proxmox-systemd", + "serde", + "serde_json", + "tokio", +] + +[[package]] +name = "proxmox-file-restore" +version = "0.1.0" +dependencies = [ + "anyhow", + "futures", + "libc", + "log", + "nix 0.29.0", + "pbs-api-types", + "pbs-buildcfg", + "pbs-client", + "pbs-datastore", + "pbs-key-config", + "pbs-tools", + "proxmox-async", + "proxmox-base64", + "proxmox-compression", + "proxmox-lang", + "proxmox-log", + "proxmox-router", + "proxmox-schema", + "proxmox-sys", + "proxmox-systemd", + "proxmox-time", + "proxmox-uuid", + "pxar", + "serde", + "serde_json", + "tokio", + "tokio-util", +] + [[package]] name = "proxmox-fuse" -version = "0.1.7" +version = "1.0.0" dependencies = [ "anyhow", "cc", @@ -1939,20 +2831,26 @@ dependencies = [ [[package]] name = "proxmox-http" -version = "0.9.5" +version = "1.0.2" dependencies = [ "anyhow", - "base64 0.13.1", + "bytes", "futures", "http", + "http-body", + "http-body-util", "hyper", + "hyper-util", "native-tls", "openssl", + "proxmox-async", + "proxmox-base64", "proxmox-compression", "proxmox-io", "proxmox-lang", "proxmox-sys", "serde_json", + "sync_wrapper", "tokio", "tokio-openssl", "tower-service", @@ -1962,7 +2860,7 @@ dependencies = [ [[package]] name = "proxmox-http-error" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", "http", @@ -1971,7 +2869,7 @@ dependencies = [ [[package]] name = "proxmox-human-byte" -version = "0.1.4" +version = "1.0.0" dependencies = [ "anyhow", "proxmox-schema", @@ -1981,7 +2879,7 @@ dependencies = [ [[package]] name = "proxmox-io" -version = "1.1.0" +version = "1.2.0" dependencies = [ "endian_trait", "tokio", @@ -1989,14 +2887,24 @@ dependencies = [ [[package]] name = "proxmox-lang" -version = "1.4.0" +version = "1.5.0" + +[[package]] +name = "proxmox-ldap" +version = "1.0.0" +dependencies = [ + "anyhow", + "ldap3", + "native-tls", + "serde", +] [[package]] name = "proxmox-log" -version = "0.2.9" +version = "1.0.0" dependencies = [ "anyhow", - "nix 0.26.4", + "nix 0.29.0", "proxmox-sys", "proxmox-time", "tokio", @@ -2007,17 +2915,61 @@ dependencies = [ ] [[package]] -name = "proxmox-notify" -version = "0.5.5" +name = "proxmox-metrics" +version = "1.0.0" +dependencies = [ + "anyhow", + "form_urlencoded", + "futures", + "http", + "hyper", + "openssl", + "proxmox-async", + "proxmox-http", + "serde", + "serde_json", + "tokio", +] + +[[package]] +name = "proxmox-network-api" +version = "1.0.3" +dependencies = [ + "anyhow", + "const_format", + "libc", + "nix 0.29.0", + "proxmox-config-digest", + "proxmox-network-types", + "proxmox-product-config", + "proxmox-schema", + "proxmox-sys", + "regex", + "serde", + "serde_json", +] + +[[package]] +name = "proxmox-network-types" +version = "0.1.1" +dependencies = [ + "serde", + "serde_with", + "thiserror 2.0.14", +] + +[[package]] +name = "proxmox-notify" +version = "1.0.2" dependencies = [ "anyhow", - "base64 0.13.1", "const_format", "handlebars", "http", "lettre", "openssl", "percent-encoding", + "proxmox-base64", "proxmox-http", "proxmox-http-error", "proxmox-human-byte", @@ -2035,18 +2987,119 @@ dependencies = [ ] [[package]] -name = "proxmox-router" -version = "3.1.1" +name = "proxmox-openid" +version = "1.0.2" dependencies = [ "anyhow", + "http", + "native-tls", + "nix 0.29.0", + "openidconnect", + "proxmox-sys", + "proxmox-time", + "serde", + "serde_json", + "thiserror 1.0.69", + "ureq", +] + +[[package]] +name = "proxmox-product-config" +version = "1.0.0" +dependencies = [ + "anyhow", + "nix 0.29.0", + "proxmox-sys", +] + +[[package]] +name = "proxmox-rest-server" +version = "1.0.1" +dependencies = [ + "anyhow", + "futures", + "handlebars", + "http", + "http-body-util", + "hyper", + "hyper-util", + "libc", + "log", + "nix 0.29.0", + "openssl", + "percent-encoding", + "proxmox-async", + "proxmox-compression", + "proxmox-daemon", + "proxmox-http", + "proxmox-lang", + "proxmox-log", + "proxmox-router", + "proxmox-schema", + "proxmox-sys", + "proxmox-time", + "proxmox-worker-task", + "regex", + "serde", + "serde_json", + "tokio", + "tokio-openssl", + "tokio-stream", + "tower-service", + "tracing", + "url", +] + +[[package]] +name = "proxmox-restore-daemon" +version = "0.1.0" +dependencies = [ + "anyhow", + "env_logger", + "futures", + "hyper", + "hyper-util", + "libc", + "log", + "nix 0.29.0", + "pathpatterns", + "pbs-api-types", + "pbs-client", + "pbs-datastore", + "pbs-tools", + "proxmox-async", + "proxmox-base64", + "proxmox-compression", + "proxmox-http", + "proxmox-rest-server", + "proxmox-router", + "proxmox-schema", + "proxmox-sortable-macro", + "proxmox-sys", + "proxmox-time", + "pxar", + "regex", + "serde_json", + "tokio", + "tokio-stream", + "tokio-util", +] + +[[package]] +name = "proxmox-router" +version = "3.2.2" +dependencies = [ + "anyhow", + "bytes", "env_logger", "futures", "http", "hyper", "libc", - "nix 0.26.4", + "nix 0.29.0", "percent-encoding", "proxmox-async", + "proxmox-http", "proxmox-http-error", "proxmox-schema", "rustyline", @@ -2056,12 +3109,72 @@ dependencies = [ "unicode-width 0.1.14", ] +[[package]] +name = "proxmox-rrd" +version = "1.0.0" +dependencies = [ + "anyhow", + "bitflags", + "crossbeam-channel", + "log", + "nix 0.29.0", + "proxmox-schema", + "proxmox-sys", + "proxmox-time", + "serde", + "serde_cbor", + "serde_json", + "serde_plain", +] + +[[package]] +name = "proxmox-rrd-api-types" +version = "1.1.0" +dependencies = [ + "proxmox-schema", + "serde", + "serde_plain", +] + +[[package]] +name = "proxmox-s3-client" +version = "1.1.1" +dependencies = [ + "anyhow", + "bytes", + "const_format", + "futures", + "hex", + "http-body-util", + "hyper", + "hyper-util", + "iso8601", + "md5", + "openssl", + "proxmox-base64", + "proxmox-http", + "proxmox-schema", + "proxmox-serde", + "proxmox-time", + "quick-xml", + "regex", + "serde", + "serde-xml-rs", + "serde_plain", + "tokio", + "tokio-util", + "tracing", + "url", +] + [[package]] name = "proxmox-schema" -version = "4.0.0" +version = "4.1.1" dependencies = [ "anyhow", "const_format", + "libc", + "nix 0.29.0", "proxmox-api-macro", "regex", "serde", @@ -2071,7 +3184,7 @@ dependencies = [ [[package]] name = "proxmox-section-config" -version = "3.0.0" +version = "3.1.0" dependencies = [ "anyhow", "hex", @@ -2083,73 +3196,126 @@ dependencies = [ [[package]] name = "proxmox-sendmail" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", - "base64 0.13.1", "percent-encoding", + "proxmox-base64", "proxmox-time", ] [[package]] name = "proxmox-serde" -version = "0.1.2" +version = "1.0.0" dependencies = [ "anyhow", - "base64 0.13.1", + "proxmox-base64", "proxmox-time", "serde", "serde_json", ] +[[package]] +name = "proxmox-shared-cache" +version = "1.0.0" +dependencies = [ + "anyhow", + "nix 0.29.0", + "proxmox-sys", + "serde", + "serde_json", +] + [[package]] name = "proxmox-shared-memory" -version = "0.3.1" +version = "1.0.0" dependencies = [ "anyhow", "libc", - "nix 0.26.4", + "nix 0.29.0", "proxmox-sys", ] [[package]] name = "proxmox-sortable-macro" -version = "0.1.3" +version = "1.0.0" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] -name = "proxmox-sys" -version = "0.6.7" +name = "proxmox-subscription" +version = "1.0.0" dependencies = [ "anyhow", - "libc", - "log", - "nix 0.26.4", + "hex", "openssl", - "proxmox-io", - "proxmox-lang", + "proxmox-base64", + "proxmox-http", + "proxmox-schema", + "proxmox-serde", + "proxmox-sys", + "proxmox-time", "regex", "serde", "serde_json", ] +[[package]] +name = "proxmox-sys" +version = "1.0.0" +dependencies = [ + "anyhow", + "libc", + "log", + "nix 0.29.0", + "openssl", + "proxmox-io", + "proxmox-lang", + "regex", + "serde", + "serde_json", + "zstd", +] + [[package]] name = "proxmox-systemd" -version = "0.1.0" +version = "1.0.0" dependencies = [ "libc", ] [[package]] -name = "proxmox-time" -version = "2.0.4" +name = "proxmox-tfa" +version = "6.0.3" dependencies = [ "anyhow", - "bitflags 2.9.1", + "base32", + "hex", + "libc", + "log", + "openssl", + "percent-encoding", + "proxmox-base64", + "proxmox-schema", + "proxmox-time", + "proxmox-uuid", + "serde", + "serde_json", + "serde_plain", + "url", + "webauthn-rs", + "webauthn-rs-core", +] + +[[package]] +name = "proxmox-time" +version = "2.1.0" +dependencies = [ + "anyhow", + "bitflags", "js-sys", "libc", "nom 7.1.3", @@ -2157,7 +3323,7 @@ dependencies = [ [[package]] name = "proxmox-uuid" -version = "1.0.3" +version = "1.1.0" dependencies = [ "js-sys", "serde", @@ -2165,7 +3331,7 @@ dependencies = [ [[package]] name = "proxmox-worker-task" -version = "0.1.0" +version = "1.0.0" dependencies = [ "anyhow", ] @@ -2181,7 +3347,7 @@ dependencies = [ [[package]] name = "pxar" -version = "0.12.1" +version = "1.0.0" dependencies = [ "endian_trait", "libc", @@ -2195,7 +3361,7 @@ version = "0.1.0" dependencies = [ "anyhow", "futures", - "nix 0.26.4", + "nix 0.29.0", "pathpatterns", "pbs-api-types", "pbs-client", @@ -2212,10 +3378,14 @@ dependencies = [ ] [[package]] -name = "quick-error" -version = "2.0.1" +name = "quick-xml" +version = "0.36.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" +checksum = "f7649a7b4df05aed9ea7ec6f628c67c9953a43869b8bc50929569b2999d443fe" +dependencies = [ + "memchr", + "tokio", +] [[package]] name = "quote" @@ -2232,7 +3402,7 @@ version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", ] [[package]] @@ -2243,9 +3413,9 @@ checksum = "640c9bd8497b02465aeef5375144c26062e0dcd5939dfcbb0f5db76cb8c17c73" [[package]] name = "r-efi" -version = "5.2.0" +version = "5.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" [[package]] name = "radix_trie" @@ -2289,22 +3459,31 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.12" +version = "0.5.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "928fca9cf2aa042393a8325b9ead81d2f0df4cb12e1e24cef072922ccd99c5af" +checksum = "5407465600fb0548f1442edf71dd20683c6ed326200ace4b1ef0763521bb3b77" dependencies = [ - "bitflags 2.9.1", + "bitflags", ] [[package]] -name = "redox_users" -version = "0.4.6" +name = "ref-cast" +version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "4a0ae411dbe946a674d89546582cea4ba2bb8defac896622d6496f14c23ba5cf" dependencies = [ - "getrandom 0.2.16", - "libredox", - "thiserror 1.0.69", + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.24" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1165225c21bff1f3bbce98f5a1f889949bc902d3575308cc7b0de30b4f6d27c7" +dependencies = [ + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", ] [[package]] @@ -2342,55 +3521,83 @@ version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95325155c684b1c89f7765e30bc1c42e4a6da51ca513615660cb8a62ef9a88e3" +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac", + "subtle", +] + +[[package]] +name = "rfc822-like" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7264615e2eab444f9acd5ee00e4401f0025bdde75ab9c1dab3062a040e07c2ff" +dependencies = [ + "fmt2io", + "serde", + "thiserror 1.0.69", + "unicode-segmentation", +] + +[[package]] +name = "rsa" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78928ac1ed176a5ca1d17e578a1825f3d81ca54cf41053a592584b020cfd691b" +dependencies = [ + "const-oid", + "digest", + "num-bigint-dig", + "num-integer", + "num-traits", + "pkcs1", + "pkcs8", + "rand_core", + "signature", + "spki", + "subtle", + "zeroize", +] + [[package]] name = "rustc-demangle" -version = "0.1.24" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace" [[package]] -name = "rustc-hash" -version = "2.1.1" +name = "rustc_version" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" - -[[package]] -name = "rustix" -version = "0.38.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ - "bitflags 2.9.1", - "errno", - "libc", - "linux-raw-sys 0.4.15", - "windows-sys 0.59.0", + "semver", +] + +[[package]] +name = "rusticata-macros" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632" +dependencies = [ + "nom 7.1.3", ] [[package]] name = "rustix" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266" +checksum = "11181fbabf243db407ef8df94a6ce0b2f9a733bd8be4ad02b4eda9602296cac8" dependencies = [ - "bitflags 2.9.1", + "bitflags", "errno", "libc", - "linux-raw-sys 0.9.4", - "windows-sys 0.59.0", -] - -[[package]] -name = "rustls-native-certs" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5bfb394eeed242e909609f56089eecfe5fda225042e8b171791b9c95f5931e5" -dependencies = [ - "openssl-probe", - "rustls-pemfile", - "rustls-pki-types", - "schannel", - "security-framework", + "linux-raw-sys", + "windows-sys 0.60.2", ] [[package]] @@ -2412,27 +3619,31 @@ dependencies = [ ] [[package]] -name = "rustyline" -version = "9.1.2" +name = "rustversion" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db7826789c0e25614b03e5a54a0717a86f9ff6e6e5247f92b369472869320039" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" + +[[package]] +name = "rustyline" +version = "14.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7803e8936da37efd9b6d4478277f4b2b9bb5cdb37a113e8d63222e58da647e63" dependencies = [ - "bitflags 1.3.2", + "bitflags", "cfg-if", "clipboard-win", - "dirs-next", "fd-lock", + "home", "libc", "log", "memchr", - "nix 0.23.2", + "nix 0.28.0", "radix_trie", - "scopeguard", - "smallvec", "unicode-segmentation", "unicode-width 0.1.14", "utf8parse", - "winapi", + "windows-sys 0.52.0", ] [[package]] @@ -2459,19 +3670,57 @@ dependencies = [ "windows-sys 0.59.0", ] +[[package]] +name = "schemars" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + +[[package]] +name = "schemars" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82d20c4491bc164fa2f6c5d44565947a52ad80b9505d8e36f8d54c27c739fcd0" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + [[package]] name = "scopeguard" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct", + "der", + "generic-array", + "pkcs8", + "subtle", + "zeroize", +] + [[package]] name = "security-framework" version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.9.1", + "bitflags", "core-foundation", "core-foundation-sys", "libc", @@ -2488,6 +3737,12 @@ dependencies = [ "libc", ] +[[package]] +name = "semver" +version = "1.0.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0" + [[package]] name = "serde" version = "1.0.219" @@ -2497,22 +3752,64 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "serde-value" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c" +dependencies = [ + "ordered-float", + "serde", +] + +[[package]] +name = "serde-xml-rs" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65162e9059be2f6a3421ebbb4fef3e74b7d9e7c60c50a0e292c6239f19f1edfa" +dependencies = [ + "log", + "serde", + "thiserror 1.0.69", + "xml-rs", +] + +[[package]] +name = "serde_cbor" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5" +dependencies = [ + "half", + "serde", +] + +[[package]] +name = "serde_cbor_2" +version = "0.12.0-dev" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b46d75f449e01f1eddbe9b00f432d616fbbd899b809c837d0fbc380496a0dd55" +dependencies = [ + "half", + "serde", +] + [[package]] name = "serde_derive" version = "1.0.219" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] name = "serde_json" -version = "1.0.140" +version = "1.0.142" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" +checksum = "030fedb782600dcbd6f02d479bf0d817ac3bb40d644745b769d6a96bc3afc5a7" dependencies = [ "itoa", "memchr", @@ -2520,6 +3817,16 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_path_to_error" +version = "0.1.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59fab13f937fa393d08645bf3a84bdfe86e296747b506ada67bb15f10f218b2a" +dependencies = [ + "itoa", + "serde", +] + [[package]] name = "serde_plain" version = "1.0.2" @@ -2529,6 +3836,38 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_with" +version = "3.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2c45cd61fefa9db6f254525d46e392b852e0e61d9a1fd36e5bd183450a556d5" +dependencies = [ + "base64 0.22.1", + "chrono", + "hex", + "indexmap 1.9.3", + "indexmap 2.10.0", + "schemars 0.9.0", + "schemars 1.0.4", + "serde", + "serde_derive", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "de90945e6565ce0d9a25098082ed4ee4002e047cb59892c318d66821e14bb30f" +dependencies = [ + "darling", + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", +] + [[package]] name = "sha2" version = "0.10.9" @@ -2557,33 +3896,40 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook-registry" -version = "1.4.5" +version = "1.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410" +checksum = "b2a4719bff48cee6b39d12c020eeb490953ad2443b7055bd0b21fca26bd8c28b" dependencies = [ "libc", ] [[package]] -name = "siphasher" -version = "0.3.11" +name = "signature" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" - -[[package]] -name = "slab" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ - "autocfg", + "digest", + "rand_core", ] [[package]] -name = "smallvec" -version = "1.15.0" +name = "siphasher" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" +checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" + +[[package]] +name = "slab" +version = "0.4.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" + +[[package]] +name = "smallvec" +version = "1.15.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "smawk" @@ -2601,6 +3947,32 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "socket2" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807" +dependencies = [ + "libc", + "windows-sys 0.59.0", +] + +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -2621,10 +3993,16 @@ dependencies = [ ] [[package]] -name = "str-buf" -version = "1.0.6" +name = "strsim" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e08d8363704e6c71fc928674353e6b7c23dcea9d82d7012c8faf2a3a025f8d0" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + +[[package]] +name = "subtle" +version = "2.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "syn" @@ -2639,24 +4017,46 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.101" +version = "2.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" +checksum = "17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", "unicode-ident", ] +[[package]] +name = "sync_wrapper" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263" +dependencies = [ + "futures-core", +] + [[package]] name = "synstructure" version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", +] + +[[package]] +name = "syslog" +version = "6.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfc7e95b5b795122fafe6519e27629b5ab4232c73ebb2428f568e82b1a457ad3" +dependencies = [ + "error-chain", + "hostname 0.3.1", + "libc", + "log", + "time", ] [[package]] @@ -2679,10 +4079,19 @@ dependencies = [ "fastrand", "getrandom 0.3.3", "once_cell", - "rustix 1.0.7", + "rustix", "windows-sys 0.59.0", ] +[[package]] +name = "termcolor" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" +dependencies = [ + "winapi-util", +] + [[package]] name = "textwrap" version = "0.16.2" @@ -2691,7 +4100,7 @@ checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057" dependencies = [ "smawk", "unicode-linebreak", - "unicode-width 0.2.0", + "unicode-width 0.2.1", ] [[package]] @@ -2705,11 +4114,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.12" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708" +checksum = "0b0949c3a6c842cbde3f1686d6eea5a010516deb7085f79db747562d4102f41e" dependencies = [ - "thiserror-impl 2.0.12", + "thiserror-impl 2.0.14", ] [[package]] @@ -2718,30 +4127,62 @@ version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] name = "thiserror-impl" -version = "2.0.12" +version = "2.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d" +checksum = "cc5b44b4ab9c2fdd0e0512e6bece8388e214c0749f5862b114cc5b7a25daf227" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] name = "thread_local" -version = "1.1.8" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ "cfg-if", - "once_cell", +] + +[[package]] +name = "time" +version = "0.3.41" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" +dependencies = [ + "deranged", + "itoa", + "libc", + "num-conv", + "num_threads", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" + +[[package]] +name = "time-macros" +version = "0.2.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" +dependencies = [ + "num-conv", + "time-core", ] [[package]] @@ -2771,19 +4212,22 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.45.1" +version = "1.47.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75ef51a33ef1da925cea3e4eb122833cb377c61439ca401b770f54902b806779" +checksum = "89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038" dependencies = [ "backtrace", "bytes", + "io-uring", "libc", "mio", + "parking_lot", "pin-project-lite", "signal-hook-registry", - "socket2", + "slab", + "socket2 0.6.0", "tokio-macros", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -2792,9 +4236,19 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", +] + +[[package]] +name = "tokio-native-tls" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbae76ab933c85776efabc971569dd6119c580d8f5d448769dec1764bf796ef2" +dependencies = [ + "native-tls", + "tokio", ] [[package]] @@ -2821,12 +4275,13 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.15" +version = "0.7.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df" +checksum = "14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5" dependencies = [ "bytes", "futures-core", + "futures-io", "futures-sink", "pin-project-lite", "tokio", @@ -2851,20 +4306,20 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.28" +version = "0.1.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "395ae124c09f9e6918a2310af6038fba074bcf474ac352496d5910dd59a2226d" +checksum = "81383ab64e72a7a8b8e13130c49e3dab29def6d0c7d76a03087b3cf71c5c6903" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] name = "tracing-core" -version = "0.1.33" +version = "0.1.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +checksum = "b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678" dependencies = [ "once_cell", "valuable", @@ -2926,12 +4381,14 @@ checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" [[package]] name = "udev" -version = "0.4.0" +version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24953d50a3bce0f5f5a9a2766567072dc9af8096f8c40ea81815da651066bc9f" +checksum = "af4e37e9ea4401fc841ff54b9ddfc9be1079b1e89434c1a6a865dd68980f7e9f" dependencies = [ + "io-lifetimes", "libc", "libudev-sys", + "pkg-config", ] [[package]] @@ -2960,9 +4417,9 @@ checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" [[package]] name = "unicode-width" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" +checksum = "4a1a07cc7db3810833284e8d372ccdc6da29741639ecc70c9ec107df0fa6154c" [[package]] name = "unicode-xid" @@ -2978,16 +4435,33 @@ checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" [[package]] name = "ureq" -version = "2.12.1" +version = "3.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02d1a66277ed75f640d608235660df48c8e3c19f3b4edb6a263315626cc3c01d" +checksum = "9f0fde9bc91026e381155f8c67cb354bcd35260b2f4a29bcc84639f762760c39" dependencies = [ "base64 0.22.1", + "der", + "flate2", "log", "native-tls", - "once_cell", - "rustls-native-certs", - "url", + "percent-encoding", + "rustls-pemfile", + "rustls-pki-types", + "ureq-proto", + "utf-8", + "webpki-root-certs 0.26.11", +] + +[[package]] +name = "ureq-proto" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "59db78ad1923f2b1be62b6da81fe80b173605ca0d57f85da2e005382adf693f7" +dependencies = [ + "base64 0.22.1", + "http", + "httparse", + "log", ] [[package]] @@ -2999,8 +4473,15 @@ dependencies = [ "form_urlencoded", "idna", "percent-encoding", + "serde", ] +[[package]] +name = "utf-8" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" + [[package]] name = "utf8_iter" version = "1.0.4" @@ -3013,6 +4494,18 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" +[[package]] +name = "uuid" +version = "1.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f33196643e165781c20a5ead5582283a7dacbb87855d867fbc2df3f81eddc1be" +dependencies = [ + "getrandom 0.3.3", + "js-sys", + "serde", + "wasm-bindgen", +] + [[package]] name = "valuable" version = "0.1.1" @@ -3052,9 +4545,9 @@ dependencies = [ [[package]] name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" +version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] name = "wasi" @@ -3073,6 +4566,7 @@ checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" dependencies = [ "cfg-if", "once_cell", + "rustversion", "wasm-bindgen-macro", ] @@ -3084,9 +4578,9 @@ checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" dependencies = [ "bumpalo", "log", - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", "wasm-bindgen-shared", ] @@ -3106,9 +4600,9 @@ version = "0.2.100" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -3122,6 +4616,92 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "webauthn-attestation-ca" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384e43534efe4e8f56c4eb1615a27e24d2ff29281385c843cf9f16ac1077dbdc" +dependencies = [ + "base64urlsafedata", + "openssl", + "openssl-sys", + "serde", + "tracing", + "uuid", +] + +[[package]] +name = "webauthn-rs" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed1f861a94557baeb0cf711e3e55d623c46b68f4aab7aa932562f785b8b5f1ab" +dependencies = [ + "base64urlsafedata", + "serde", + "tracing", + "url", + "uuid", + "webauthn-rs-core", +] + +[[package]] +name = "webauthn-rs-core" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "269c210cd5f183aaca860bb5733187d1dd110ebed54640f8fc1aca31a04aa4dc" +dependencies = [ + "base64 0.21.7", + "base64urlsafedata", + "der-parser", + "hex", + "nom 7.1.3", + "openssl", + "openssl-sys", + "rand", + "rand_chacha", + "serde", + "serde_cbor_2", + "serde_json", + "thiserror 1.0.69", + "tracing", + "url", + "uuid", + "webauthn-attestation-ca", + "webauthn-rs-proto", + "x509-parser", +] + +[[package]] +name = "webauthn-rs-proto" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "144dbee9abb4bfad78fd283a2613f0312a0ed5955051b7864cfc98679112ae60" +dependencies = [ + "base64 0.21.7", + "base64urlsafedata", + "serde", + "serde_json", + "url", +] + +[[package]] +name = "webpki-root-certs" +version = "0.26.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75c7f0ef91146ebfb530314f5f1d24528d7f0767efbfd31dce919275413e393e" +dependencies = [ + "webpki-root-certs 1.0.2", +] + +[[package]] +name = "webpki-root-certs" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e4ffd8df1c57e87c325000a3d6ef93db75279dc3a231125aac571650f22b12a" +dependencies = [ + "rustls-pki-types", +] + [[package]] name = "widestring" version = "1.2.0" @@ -3160,10 +4740,63 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] -name = "windows-link" -version = "0.1.1" +name = "windows-core" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38" +checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" +dependencies = [ + "windows-implement", + "windows-interface", + "windows-link", + "windows-result", + "windows-strings", +] + +[[package]] +name = "windows-implement" +version = "0.60.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836" +dependencies = [ + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", +] + +[[package]] +name = "windows-interface" +version = "0.59.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8" +dependencies = [ + "proc-macro2 1.0.97", + "quote 1.0.40", + "syn 2.0.104", +] + +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-result" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" +dependencies = [ + "windows-link", +] [[package]] name = "windows-sys" @@ -3192,6 +4825,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.3", +] + [[package]] name = "windows-targets" version = "0.48.5" @@ -3225,10 +4867,11 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.53.0" +version = "0.53.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b" +checksum = "d5fe6031c4041849d7c496a8ded650796e7b6ecc19df1a431c1a363342e5dc91" dependencies = [ + "windows-link", "windows_aarch64_gnullvm 0.53.0", "windows_aarch64_msvc 0.53.0", "windows_i686_gnu 0.53.0", @@ -3393,7 +5036,7 @@ version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1" dependencies = [ - "bitflags 2.9.1", + "bitflags", ] [[package]] @@ -3403,13 +5046,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ea2f10b9bb0928dfb1b42b65e1f9e36f7f54dbdf08457afefb38afcdec4fa2bb" [[package]] -name = "xattr" -version = "1.5.0" +name = "x509-parser" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d65cbf2f12c15564212d48f4e3dfb87923d25d611f2aed18f4cb23f0413d89e" +checksum = "fcbc162f30700d6f3f82a24bf7cc62ffe7caea42c0b2cba8bf7f3ae50cf51f69" +dependencies = [ + "asn1-rs", + "data-encoding", + "der-parser", + "lazy_static", + "nom 7.1.3", + "oid-registry", + "rusticata-macros", + "thiserror 1.0.69", + "time", +] + +[[package]] +name = "xattr" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "af3a19837351dc82ba89f8a125e22a3c475f05aba604acc023d62b2739ae2909" dependencies = [ "libc", - "rustix 1.0.7", + "rustix", ] [[package]] @@ -3418,6 +5078,12 @@ version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "213b7324336b53d2414b2db8537e56544d981803139155afa84f76eeebb7a546" +[[package]] +name = "xml-rs" +version = "0.8.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6fd8403733700263c6eb89f192880191f1b83e332f7a20371ddcf421c4a337c7" + [[package]] name = "yoke" version = "0.8.0" @@ -3436,30 +5102,30 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "38da3c9736e16c5d3c8c597a9aaa5d1fa565d0532ae05e27c24aa62fb32c0ab6" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", "synstructure", ] [[package]] name = "zerocopy" -version = "0.8.25" +version = "0.8.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb" +checksum = "1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.25" +version = "0.8.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef" +checksum = "9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] @@ -3477,9 +5143,9 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", "synstructure", ] @@ -3502,9 +5168,9 @@ dependencies = [ [[package]] name = "zerovec" -version = "0.11.2" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428" +checksum = "e7aa2bd55086f1ab526693ecbe444205da57e25f4489879da80635a46d90e73b" dependencies = [ "yoke", "zerofrom", @@ -3517,27 +5183,26 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f" dependencies = [ - "proc-macro2 1.0.95", + "proc-macro2 1.0.97", "quote 1.0.40", - "syn 2.0.101", + "syn 2.0.104", ] [[package]] name = "zstd" -version = "0.12.4" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" +checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "6.0.6" +version = "7.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" +checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" dependencies = [ - "libc", "zstd-sys", ] @@ -3547,7 +5212,6 @@ version = "2.0.15+zstd.1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237" dependencies = [ - "bindgen", "cc", "pkg-config", ] diff --git a/pkgs/by-name/pr/proxmox-backup-client/package.nix b/pkgs/by-name/pr/proxmox-backup-client/package.nix index 6bd8a0e52de4..98c6b5539b0e 100644 --- a/pkgs/by-name/pr/proxmox-backup-client/package.nix +++ b/pkgs/by-name/pr/proxmox-backup-client/package.nix @@ -1,14 +1,11 @@ { lib, fetchgit, - fetchFromGitHub, rustPlatform, pkgconf, openssl, fuse3, - libuuid, acl, - libxcrypt, installShellFiles, sphinx, stdenv, @@ -17,50 +14,41 @@ let pname = "proxmox-backup-client"; - version = "3.4.2"; + version = "4.0.13"; proxmox-backup_src = fetchgit { url = "git://git.proxmox.com/git/proxmox-backup.git"; - rev = "37f1949335cad801f7cdaa0173cc114590a37e4e"; + rev = "de92e3f6a26bfbcc9f8b860e983a85a434a8e3c6"; name = "proxmox-backup"; - hash = "sha256-OW6GG/4IcEw8XOSSB5EoN+jyoOaL0ZtavJahnKOuAqI="; + hash = "sha256-09woNnl55zGIeHkX/UdBRg0mlKjD2HraPCjferNe81I="; }; proxmox_src = fetchgit { url = "git://git.proxmox.com/git/proxmox.git"; - rev = "e47fdf411be61b15382bc3baa3064f1e7cb03fa2"; + rev = "84a58afe23a35454a1abbeb6c436ee49d2888d18"; name = "proxmox"; - hash = "sha256-jSU00D75sx40VS8rgF+D6h120FMaD1Jfq4e8l+8D5BQ="; + hash = "sha256-p4o72RFuDBpgThJ39ZkIXriUQJZtYdrj9Biyl+XQ2hc="; }; proxmox-fuse_src = fetchgit { url = "git://git.proxmox.com/git/proxmox-fuse.git"; - rev = "6faec3a52fcdb0df3ca13fee2977683824d62d01"; # 0.1.7-1 + rev = "87dbf9bfef9169286263bccffaae3206635ca108"; # 1.0.0 name = "proxmox-fuse"; - hash = "sha256-FwkZ5L7gJr9xZTQkdVHmOP8vnzf+To5Wz2SbIEzGUOY="; + hash = "sha256-/8Xy6LTql3gHfHuxT0lK5mhLGc58YAb1W+eyusmEP8Y="; }; proxmox-pxar_src = fetchgit { url = "git://git.proxmox.com/git/pxar.git"; - rev = "410f326a08ef6c08141af5c7431beb2e16f0c666"; # 0.12.1 + rev = "993c66fcb8819770f279cb9fb4d13f58f367606c"; # 1.0.0 name = "pxar"; - hash = "sha256-USvtrWTbP3VUiy9MB9Ym6s4wXBNZ4Ooyg4MRDwRVOtU="; + hash = "sha256-V5DkTIyPuopSILQoJt04E5G9ZEylQF1x5oXgWQJuDq8="; }; proxmox-pathpatterns_src = fetchgit { url = "git://git.proxmox.com/git/pathpatterns.git"; - rev = "5f625aacbd6f81d97a1c6f5476fb38769d069f26"; # 0.3.0 + rev = "42e5e96e30297da878a4d4b3a7fa52b65c1be0ab"; # 1.0.0 name = "pathpatterns"; - hash = "sha256-717XSlvQdvP0Q516fEx04rsrLCk3QI8frTD5NMmkSr4="; - }; - - # needs a patched version - h2_src = fetchFromGitHub { - name = "h2"; - owner = "hyperium"; - repo = "h2"; - rev = "v0.4.10"; - hash = "sha256-PasHCbU466ByHIbDQpMMgzjg2dMRveOButHeVSknSEQ="; + hash = "sha256-U8EhTg/2iuArQvUNGNYrgVYn1T/jnxxqSKJxfsCMAjs="; }; in @@ -73,7 +61,6 @@ rustPlatform.buildRustPackage { proxmox-fuse_src proxmox-pxar_src proxmox-pathpatterns_src - h2_src ]; sourceRoot = proxmox-backup_src.name; @@ -85,28 +72,12 @@ rustPlatform.buildRustPackage { # Debian packages). This patch redirects all these dependencies to a local, relative path, which # works in combination with the other three repos being checked out. ./0001-cargo-re-route-dependencies-not-available-on-crates..patch - # `make docs` assumes that the binaries are located under `target/{debug,release}`, but due - # to how `buildRustPackage` works, they get put under `target/$RUSTC_TARGET/{debug,release}`. - # This patch simply fixes that up. - ./0002-docs-add-target-path-fixup-variable.patch - # Need to use a patched version of the `h2` crate (with a downgraded dependency, see also postPatch). - # This overrides it in the Cargo.toml as needed. - ./0003-cargo-use-local-patched-h2-dependency.patch # This patch prevents the generation of the man-pages for other components inside the repo, # which would require them too be built too. Thus avoid wasting resources and just skip them. - ./0004-docs-drop-all-but-client-man-pages.patch - # Upstream uses a patched version of the h2 crate (see [0]), which does not apply here. - # [0] https://git.proxmox.com/?p=debcargo-conf.git;a=blob;f=src/h2/debian/patches/add-legacy.patch;h=0913da317 - ./0005-Revert-h2-switch-to-legacy-feature.patch + ./0002-docs-drop-all-but-client-man-pages.patch ]; postPatch = '' - # need to downgrade the `http` crate for `h2` - # see https://aur.archlinux.org/cgit/aur.git/tree/0003-cargo-downgrade-http-to-0.2.12.patch?h=proxmox-backup-client - cp -r ../h2 . - chmod u+w ./h2 - (cd h2 && sed -i 's/^http = "1"$/http = "0.2.12"/' Cargo.toml) - cp ${./Cargo.lock} Cargo.lock rm .cargo/config.toml @@ -121,7 +92,7 @@ rustPlatform.buildRustPackage { postBuild = '' make -C docs \ DEB_VERSION=${version} DEB_VERSION_UPSTREAM=${version} \ - RUSTC_TARGET=${stdenv.targetPlatform.rust.rustcTarget} \ + DEB_HOST_RUST_TYPE=${stdenv.targetPlatform.rust.rustcTarget} \ BUILD_MODE=release \ proxmox-backup-client.1 pxar.1 '';