aboutsummaryrefslogtreecommitdiffstats
path: root/crates/config/src/lib.rs
blob: bff12215ecb2172ad10da0a8f8403a9458ea2460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//! What a program's configuration is made of, from its files and its arguments: a
//! library, which continuum's configuration is made with, and other programs' may be.
//!
//! * [`option`]: the options a program takes, described once (`Schema`);
//! * [`file`]: configuration files, TOML or JSON, including others;
//! * [`arguments`]: the command line, and files and arguments put together (with the
//!   feature `clap`);
//! * [`layer`]: values and where they came from, later sources over earlier ones;
//! * [`report`]: what each option ended up as and where from, to print or to serve;
//! * [`import`]: values taken from elsewhere instead of written out;
//! * [`units`]: durations and sizes as operators write them.

#[cfg(feature = "clap")]
pub mod arguments;
pub mod file;
pub mod import;
pub mod layer;
pub mod option;
pub mod report;
pub mod units;

#[cfg(test)]
mod testing;