cordis_include/lib.rs
1//! Configuration entry trees and config-file support for [`cordis-rs`].
2//!
3//! **Status: placeholder.** This crate is under active development as part of
4//! the cordis-rs workspace. See the repository for the roadmap.
5//!
6//! Planned contents: `LoaderFile` (atomic YAML/JSON read/write), `EntryTree`,
7//! `Entry`, `EntryGroup`, and the `Import` plugin for nested config files.
8//!
9//! [`cordis-rs`]: https://docs.rs/cordis-rs
10
11/// Options of a single config entry (one line in the config file).
12#[derive(Debug, Clone, Default)]
13pub struct EntryOptions {
14 /// Unique entry id within its tree.
15 pub id: String,
16 /// Plugin name to resolve.
17 pub name: String,
18 /// Whether this entry (and its descendants) is disabled.
19 pub disabled: bool,
20}