mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-24 02:38:06 +02:00
Split the body of load_config_in into a load_single_layer(cwd, path) helper that loads and fully processes one config file (version-gating, legacy scan, normalize) — the seam the upcoming layered loader needs — while load_config_in keeps its exact single-layer semantics (an explicit --config still errors on a missing file). Add the precedence-ordered Layer enum (Default < Global < State < Project) and a Provenance side-table newtype for the merge engine, plus the dirs dependency (already in the lock tree via lance, so zero new crates). No behavior change.
20 lines
588 B
TOML
20 lines
588 B
TOML
[package]
|
|
name = "omnigraph-config"
|
|
version = "0.6.1"
|
|
edition = "2024"
|
|
description = "Configuration schema and loader for the Omnigraph graph database."
|
|
license = "MIT"
|
|
repository = "https://github.com/ModernRelay/omnigraph"
|
|
homepage = "https://github.com/ModernRelay/omnigraph"
|
|
documentation = "https://docs.rs/omnigraph-config"
|
|
|
|
[dependencies]
|
|
serde = { workspace = true }
|
|
serde_yaml = { workspace = true }
|
|
serde_ignored = { workspace = true }
|
|
dirs = { workspace = true }
|
|
clap = { workspace = true }
|
|
color-eyre = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile = { workspace = true }
|