mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-03 00:31:05 +00:00
30 lines
715 B
Rust
30 lines
715 B
Rust
//! API Router and Command Line Interface utilities.
|
|
|
|
pub mod format;
|
|
|
|
#[cfg(feature = "cli")]
|
|
pub mod cli;
|
|
|
|
// this is public so the `http_err!` macro can access `http::StatusCode` through it
|
|
#[doc(hidden)]
|
|
#[cfg(feature = "server")]
|
|
pub mod error;
|
|
|
|
mod permission;
|
|
mod router;
|
|
mod rpc_environment;
|
|
mod serializable_return;
|
|
|
|
#[doc(inline)]
|
|
#[cfg(feature = "server")]
|
|
pub use error::HttpError;
|
|
|
|
pub use permission::*;
|
|
pub use router::*;
|
|
pub use rpc_environment::{RpcEnvironment, RpcEnvironmentType};
|
|
pub use serializable_return::SerializableReturn;
|
|
|
|
// make list_subdirs_api_method! work without an explicit proxmox-schema dependency:
|
|
#[doc(hidden)]
|
|
pub use proxmox_schema::ObjectSchema as ListSubdirsObjectSchema;
|