7 unstable releases (3 breaking)
Uses new Rust 2024
| new 0.4.0 | Mar 11, 2026 |
|---|---|
| 0.3.1 | Mar 11, 2026 |
| 0.2.2 | Mar 3, 2026 |
| 0.2.1 | Feb 5, 2026 |
| 0.1.0 | Dec 15, 2025 |
#1347 in Database interfaces
10,587 downloads per month
Used in 3 crates
(2 directly)
28KB
388 lines
Common utilities for MPC-node services.
This crate provides building blocks shared across nodes in the MPC network.
Environment– represents the deployment environment (prod / staging / test).StartedServices– tracks whether all async background services have started, used to drive the/healthendpoint.spawn_shutdown_task/default_shutdown_signal– wiring for graceful shutdown viaCTRL+CorSIGTERM.version_info!– macro that returns a version string containing the crate name, semver version, and git hash.
Optional Features
api(enabled by default) – exposes/healthand/versionAxum endpoints.serde(enabled by default) – ser/de implementation forEnvironment.aws(enabled by default) – adds a method to create a localstack configuration used for testing
Dependencies
~7–26MB
~250K SLoC