pmg: add api-types feature of proxmox-acme

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2024-06-10 12:46:37 +02:00
parent cd0e7b8cd2
commit da068b1a47
3 changed files with 3 additions and 2 deletions

View File

@ -32,7 +32,7 @@ url = "2"
perlmod = { version = "0.13.4", features = [ "exporter" ] }
proxmox-acme = { version = "0.5", features = ["client"] }
proxmox-acme = { version = "0.5", features = ["client", "api-types"] }
proxmox-apt = "0.10"
proxmox-http = { version = "0.9", features = ["client-sync", "client-trait"] }
proxmox-http-error = "0.1.0"

View File

@ -14,6 +14,7 @@ Build-Depends: cargo:native <!nocheck>,
librust-openssl-0.10+default-dev (>= 0.10.40-~~),
librust-perlmod-0.13+default-dev (>= 0.13.4-~~),
librust-perlmod-0.13+exporter-dev (>= 0.13.4-~~),
librust-proxmox-acme-0.5+api-types-dev,
librust-proxmox-acme-0.5+client-dev,
librust-proxmox-acme-0.5+default-dev,
librust-proxmox-apt-0.10+default-dev,

View File

@ -9,7 +9,7 @@ use std::os::unix::fs::OpenOptionsExt;
use anyhow::{format_err, Error};
use serde::{Deserialize, Serialize};
use proxmox_acme::account::AccountData as AcmeAccountData;
use proxmox_acme::types::AccountData as AcmeAccountData;
use proxmox_acme::{Account, Client};
/// Our on-disk format inherited from PVE's proxmox-acme code.