Refactored flaredb-server and plasmavmc-server to use a unified configuration approach, supporting TOML files, environment variables, and CLI overrides. This completes T027.S0 Config Unification. Changes include: - Created dedicated modules for both flaredb-server and plasmavmc-server to define structs. - Implemented for in both components. - Modified in flaredb-server to use instead of . - Modified in plasmavmc-server to add dependency. - Refactored in both components to load config from TOML/env and apply CLI overrides. - Extended in plasmavmc-server/src/config.rs to include all relevant Firecracker backend parameters. - Implemented in plasmavmc/crates/plasmavmc-firecracker/src/lib.rs to construct backend from the unified configuration. - Updated docs/por/T027-production-hardening/task.yaml to mark S0 as complete and the overall task status as active.
32 lines
767 B
TOML
32 lines
767 B
TOML
[package]
|
|
name = "flaredb-server"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
flaredb-types = { path = "../flaredb-types" }
|
|
flaredb-proto = { path = "../flaredb-proto" }
|
|
flaredb-storage = { path = "../flaredb-storage" }
|
|
flaredb-raft = { path = "../flaredb-raft" }
|
|
tokio.workspace = true
|
|
tonic.workspace = true
|
|
tonic-health.workspace = true
|
|
prost.workspace = true
|
|
clap.workspace = true
|
|
openraft.workspace = true
|
|
serde.workspace = true
|
|
toml.workspace = true
|
|
async-trait.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
rocksdb.workspace = true
|
|
futures.workspace = true
|
|
sha2.workspace = true
|
|
tokio-stream.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|
|
|
|
[lib]
|
|
name = "flaredb_server"
|
|
path = "src/lib.rs"
|