mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-09 15:39:53 +00:00
34 lines
732 B
Rust
34 lines
732 B
Rust
//! Proxmox schema module.
|
|
//!
|
|
//! This provides utilities to define APIs in a declarative way using
|
|
//! Schemas. Primary use case it to define REST/HTTP APIs. Another use case
|
|
//! is to define command line tools using Schemas. Finally, it is
|
|
//! possible to use schema definitions to derive configuration file
|
|
//! parsers.
|
|
|
|
#![deny(unsafe_op_in_unsafe_fn)]
|
|
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
|
|
|
#[cfg(feature = "api-macro")]
|
|
pub use proxmox_api_macro::api;
|
|
|
|
mod api_type_macros;
|
|
|
|
#[macro_use]
|
|
mod const_regex;
|
|
pub use const_regex::ConstRegexPattern;
|
|
|
|
pub mod de;
|
|
pub mod format;
|
|
pub mod ser;
|
|
|
|
pub mod property_string;
|
|
|
|
mod schema;
|
|
pub use schema::*;
|
|
|
|
pub mod upid;
|
|
|
|
#[cfg(feature = "api-types")]
|
|
pub mod api_types;
|