bare_config/lib.rs
1//! bare-config
2//!
3//! The type-safe configuration authority for Rust.
4//!
5//! This crate provides a pluggable framework for full CRUD operations
6//! across multiple backends with 'Parse, don't validate' philosophy.
7
8#![warn(clippy::all)]
9
10pub mod content;
11pub mod error;
12pub mod key;
13pub mod value;
14
15#[cfg(feature = "json")]
16pub mod json;
17
18#[cfg(feature = "properties")]
19pub mod properties;
20
21#[cfg(feature = "toml")]
22pub mod toml;
23
24#[cfg(feature = "yaml")]
25pub mod yaml;
26
27// #[cfg(feature = "xml")]
28// pub mod xml; // TODO: Remove XML support
29
30#[cfg(feature = "ini")]
31pub mod ini;
32
33pub use content::ConfigContent;
34pub use error::{ConfigError, ConfigResult};
35pub use key::{Key, KeySegment};
36pub use value::Value;