minihubd-0.1.2 is not a library.
minihubd — minihub daemon
Composition root that wires all adapters together and starts the server.
Responsibilities
- Parse configuration (CLI args, env vars, config file)
- Initialize the
SQLiteconnection pool and run migrations - Construct repository implementations (adapters)
- Construct application services, injecting repositories via port traits
- Build the axum router, injecting application services
- Bind to a TCP port and serve
- Handle graceful shutdown (SIGTERM/SIGINT)
Dependency rule
This is the only crate that depends on all other crates. It is the wiring layer — no domain logic belongs here.