#networking #service #mpc #node #async #ctrl-c #sigterm #git-hash #version-string #graceful-shutdown

taceo-nodes-common

Collection of common functions used by nodes in our MPC networks

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

Download history 71/week @ 2025-12-10 66/week @ 2025-12-17 16/week @ 2025-12-24 33/week @ 2025-12-31 1002/week @ 2026-01-07 1618/week @ 2026-01-14 2173/week @ 2026-01-21 3558/week @ 2026-01-28 2833/week @ 2026-02-04 3080/week @ 2026-02-11 3097/week @ 2026-02-18 1877/week @ 2026-02-25 1755/week @ 2026-03-04

10,587 downloads per month
Used in 3 crates (2 directly)

MIT/Apache

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 /health endpoint.
  • spawn_shutdown_task / default_shutdown_signal – wiring for graceful shutdown via CTRL+C or SIGTERM.
  • version_info! – macro that returns a version string containing the crate name, semver version, and git hash.

Optional Features

  • api (enabled by default) – exposes /health and /version Axum endpoints.
  • serde (enabled by default) – ser/de implementation for Environment.
  • aws (enabled by default) – adds a method to create a localstack configuration used for testing

Dependencies

~7–26MB
~250K SLoC