diff --git a/pmg-rs/Cargo.toml b/pmg-rs/Cargo.toml index 5489649..8ff0185 100644 --- a/pmg-rs/Cargo.toml +++ b/pmg-rs/Cargo.toml @@ -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" diff --git a/pmg-rs/debian/control b/pmg-rs/debian/control index 705e302..86ead55 100644 --- a/pmg-rs/debian/control +++ b/pmg-rs/debian/control @@ -14,6 +14,7 @@ Build-Depends: cargo:native , 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, diff --git a/pmg-rs/src/acme.rs b/pmg-rs/src/acme.rs index 06281da..7ea78c6 100644 --- a/pmg-rs/src/acme.rs +++ b/pmg-rs/src/acme.rs @@ -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.