wifi-densepose-config
Configuration management for the WiFi-DensePose pose estimation system.
Overview
wifi-densepose-config provides a unified configuration layer that merges values from environment
variables, TOML/YAML files, and CLI overrides into strongly-typed Rust structs. Built on the
config, dotenvy, and
envy ecosystem from the workspace.
Status: This crate is currently a stub. The intended API surface is documented below.
Planned Features
- Multi-source loading -- Merge configuration from
.env, TOML files, YAML files, and environment variables with well-defined precedence. - Typed configuration -- Strongly-typed structs for server, signal processing, neural network, hardware, and database settings.
- Validation -- Schema validation with human-readable error messages on startup.
- Hot reload -- Watch configuration files for changes and notify dependent services.
- Profile support -- Named profiles (
development,production,testing) with per-profile overrides. - Secret filtering -- Redact sensitive values (API keys, database passwords) in logs and debug output.
Quick Start
// Intended usage (not yet implemented)
use AppConfig;
Planned Configuration Structure
# config.toml
[]
= "0.0.0.0:3000"
= "/ws/poses"
[]
= 100
= 56
= 5
[]
= "./models/densepose.rvf"
= "ort" # ort | candle | tch
= 8
[]
= 5005
= 921600
[]
= "sqlite://data/wifi-densepose.db"
= 5
Related Crates
| Crate | Role |
|---|---|
wifi-densepose-core |
Shared types and traits |
wifi-densepose-api |
REST API (consumer) |
wifi-densepose-db |
Database layer (consumer) |
wifi-densepose-cli |
CLI (consumer) |
wifi-densepose-sensing-server |
Sensing server (consumer) |
License
MIT OR Apache-2.0