docs.rs failed to build trusty-mpm-daemon-0.2.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
trusty-mpm daemon library.
Why: the daemon's HTTP API and shared state are useful beyond the trusty-mpmd
binary — sibling crates (e.g. the Telegram bot's test suite) reuse the real
api::router and DaemonState to drive in-process integration tests without
a live daemon. Exposing the modules as a library makes that possible.
What: re-exports the daemon's modules as pub so both main.rs and external
consumers can build against them.
Test: the modules carry their own #[cfg(test)] suites; cargo test -p trusty-mpm-daemon exercises them.