photoncloud-monorepo/plasmavmc/crates/plasmavmc-server/Cargo.toml
centra df80d00696 feat(T027): Unify configuration for flaredb-server and plasmavmc-server
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.
2025-12-10 05:11:04 +09:00

44 lines
1.4 KiB
TOML

[package]
name = "plasmavmc-server"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "PlasmaVMC control plane server"
[[bin]]
name = "plasmavmc-server"
path = "src/main.rs"
[dependencies]
plasmavmc-types = { workspace = true }
plasmavmc-api = { workspace = true }
plasmavmc-hypervisor = { workspace = true }
plasmavmc-kvm = { workspace = true }
plasmavmc-firecracker = { workspace = true }
tonic = { workspace = true }
tonic-health = { workspace = true }
prost = { workspace = true }
tokio = { workspace = true }
tokio-stream = { workspace = true }
async-trait = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
thiserror = { workspace = true }
clap = { workspace = true }
dashmap = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
toml = { workspace = true }
chainfire-client = { path = "../../../chainfire/chainfire-client" }
flaredb-client = { path = "../../../flaredb/crates/flaredb-client" }
novanet-api = { path = "../../../novanet/crates/novanet-api" }
[dev-dependencies]
tempfile = { workspace = true }
chainfire-server = { path = "../../../chainfire/crates/chainfire-server" }
novanet-server = { path = "../../../novanet/crates/novanet-server" }
novanet-types = { path = "../../../novanet/crates/novanet-types" }
[lints]
workspace = true