mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-15 01:55:13 +02:00
refactor: extract omnigraph-config crate from omnigraph-server
Move config.rs (schema + loader + resolvers) into a new clean-leaf crate
(serde/serde_yaml/clap/color-eyre). The server aliases it via
`pub use omnigraph_config as config;` so every internal `config::` path and
the `pub use config::{...}` re-exports resolve unchanged. No behavior change;
the 12 config tests move verbatim and pass. First step of RFC-002 V0.
This commit is contained in:
parent
54bbe902e5
commit
c5ea4875d5
6 changed files with 33 additions and 1 deletions
12
Cargo.lock
generated
12
Cargo.lock
generated
|
|
@ -4584,6 +4584,17 @@ dependencies = [
|
|||
"tokio",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "omnigraph-config"
|
||||
version = "0.6.1"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"color-eyre",
|
||||
"serde",
|
||||
"serde_yaml",
|
||||
"tempfile",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "omnigraph-engine"
|
||||
version = "0.6.1"
|
||||
|
|
@ -4654,6 +4665,7 @@ dependencies = [
|
|||
"lance",
|
||||
"lance-index",
|
||||
"omnigraph-compiler",
|
||||
"omnigraph-config",
|
||||
"omnigraph-engine",
|
||||
"omnigraph-policy",
|
||||
"regex",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue