mirror of
https://git.proxmox.com/git/proxmox-perl-rs
synced 2025-05-22 20:08:51 +00:00
pve: fix use vs mod grouping
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
dfd8a2e321
commit
ae27b307b8
@ -4,10 +4,11 @@ mod export {
|
||||
|
||||
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;
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
use anyhow::Error;
|
||||
|
||||
use proxmox_apt_api_types::APTUpdateInfo;
|
||||
|
||||
#[path = "../common/src/mod.rs"]
|
||||
pub mod common;
|
||||
|
||||
@ -6,10 +10,6 @@ pub mod apt;
|
||||
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;
|
||||
|
@ -1,5 +1,13 @@
|
||||
//! 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;
|
||||
|
||||
@ -8,14 +16,6 @@ pub mod openid;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user