//! Layered TOML configuration.
//!
//! Split three ways: `file` is the serde shape of a config file and how one layer merges into the
//! next, `manager` is [`ConfigManager`] — discovery, caching and per-file resolution — and
//! `templates` is what `uncomment init` writes.
pub use ;
pub use ConfigManager;
pub use DetectionInfo;
use Once;
/// The config file name `uncomment init` writes and discovery prefers.
pub const CONFIG_FILE_NAME: &str = ".uncomment.toml";
/// Every name discovery accepts, highest precedence first. The two after [`CONFIG_FILE_NAME`] are
/// deprecated: they are still read, so no existing config stops being honoured, and reading one
/// emits [`LEGACY_NAME_NOTICE`] once per run.
const CONFIG_FILE_NAMES: = ;
/// One deprecation notice per run, however many legacy-named configs the run reads. Process-global
/// rather than per-[`ConfigManager`] because the notice is about the user's files, not about a
/// particular manager, and the eager ancestor walk loads configs before any manager exists.
static LEGACY_NAME_NOTICE: Once = new;