use anyhow::Error;
use nix::sys::stat::Mode;
- use perlmod::Value;
use serde::Deserialize;
use serde_json::Value as JSONValue;
+ use perlmod::Value;
+
use proxmox_shared_cache::SharedCache;
use proxmox_sys::fs::CreateOptions;
+use anyhow::Error;
+
+use proxmox_apt_api_types::APTUpdateInfo;
+
#[path = "../common/src/mod.rs"]
pub mod common;
pub mod csr;
pub mod tfa;
-use anyhow::Error;
-
-use proxmox_apt_api_types::APTUpdateInfo;
-
#[perlmod::package(name = "Proxmox::Lib::PMG", lib = "pmg_rs")]
mod export {
use crate::common;
//! Rust library for the Proxmox VE code base.
+use std::collections::HashMap;
+
+use anyhow::Error;
+use serde_json::json;
+
+use proxmox_apt_api_types::APTUpdateInfo;
+use proxmox_notify::{Config, Notification, Severity};
+
#[path = "../common/src/mod.rs"]
pub mod common;
pub mod resource_scheduling;
pub mod tfa;
-use std::collections::HashMap;
-
-use anyhow::Error;
-
-use proxmox_apt_api_types::APTUpdateInfo;
-use proxmox_notify::{Config, Notification, Severity};
-use serde_json::json;
-
#[perlmod::package(name = "Proxmox::Lib::PVE", lib = "pve_rs")]
mod export {
use proxmox_notify::context::pve::PVE_CONTEXT;