1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#![allow(clippy::result_large_err)]
mod format;

#[cfg(feature = "config")]
mod config;

/// Built-in `parse_env` functions.
#[cfg(feature = "config")]
pub mod env;

#[cfg(feature = "config")]
#[doc(hidden)]
pub mod internal;

/// Built-in `merge` functions.
#[cfg(feature = "config")]
pub mod merge;

/// Generate schemas to render into outputs.
#[cfg(feature = "schema")]
pub mod schema;

/// Built-in `validate` functions.
#[cfg(feature = "config")]
pub mod validate;

/// ASCII color helpers for use within error messages.
#[cfg(feature = "config")]
pub use starbase_styles::color;

#[cfg(feature = "config")]
pub use config::*;

pub use format::*;
pub use schematic_macros::*;
pub use schematic_types::{SchemaField, SchemaType, Schematic};