Replace el.toml with manifest.el throughout — El manifests are El, not TOML

This commit is contained in:
Will Anderson
2026-04-29 22:48:36 -05:00
parent 2b2ca8a59e
commit f09803c317
15 changed files with 23 additions and 23 deletions
+4 -4
View File
@@ -4,8 +4,8 @@
/// for a key wins. Resolution order:
/// 1. Environment variables (highest)
/// 2. .env file (dev only)
/// 3. el.toml [env.<current>] section
/// 4. el.toml [config] section (base)
/// 3. manifest.el [env.<current>] section
/// 4. manifest.el [config] section (base)
/// 5. Defaults defined in code (lowest)
use std::collections::HashMap;
@@ -129,7 +129,7 @@ impl Config {
}
}
/// Load config from an `el.toml` string.
/// Load config from an `manifest.el` string.
///
/// Reads `[config]` as the base, then overlays `[env.<environment>]`.
pub fn load_from_toml(toml_str: &str, env: &Environment) -> Result<MapSource, ConfigError> {
@@ -155,7 +155,7 @@ pub fn load_from_toml(toml_str: &str, env: &Environment) -> Result<MapSource, Co
}
}
Ok(MapSource::from_map("el.toml", map))
Ok(MapSource::from_map("manifest.el", map))
}
fn flatten_toml_table(
+2 -2
View File
@@ -4,8 +4,8 @@
//!
//! 1. Environment variables (`EL_APP_NAME=...`)
//! 2. `.env` file (development only)
//! 3. `el.toml` `[env.<current>]` section
//! 4. `el.toml` `[config]` base section
//! 3. `manifest.el` `[env.<current>]` section
//! 4. `manifest.el` `[config]` base section
//! 5. Defaults defined in code
//!
//! ## Quick start