Skip to main content

rumdl_lib/config/
mod.rs

1//!
2//! This module defines configuration structures, loading logic, and provenance tracking for rumdl.
3//! Supports TOML, pyproject.toml, and markdownlint config formats, and provides merging and override logic.
4
5pub mod flavor;
6pub use flavor::*;
7
8pub mod types;
9pub use types::*;
10
11pub mod source_tracking;
12pub use source_tracking::*;
13
14mod loading;
15// Re-exported for the native LSP (`lsp::configuration`), the only cross-module
16// consumer; gated so non-native builds (e.g. wasm/WASI) don't warn on it.
17#[cfg(feature = "native")]
18pub(crate) use loading::rumdl_configs_in_dir;
19
20pub mod registry;
21pub use registry::*;
22
23pub mod validation;
24pub use validation::*;
25
26pub mod global_keys;
27pub use global_keys::is_global_value_key;
28
29mod parsers;
30
31#[cfg(test)]
32mod tests;
33
34#[cfg(test)]
35#[path = "../config_intelligent_merge_tests.rs"]
36mod config_intelligent_merge_tests;