proxmox/proxmox-schema/src/lib.rs
Maximiliano Sandoval ab3f4a2fc4 schema: remove lazy_static dependency
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2024-08-14 10:33:42 +02:00

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;