#subsystem #validation #determine #message #polkadot #jobs #traits

polkadot-node-subsystem-util

Subsystem traits and message definitions

18 major breaking releases

new 20.0.0 Jan 14, 2025
18.0.0 Oct 1, 2024
17.1.0 Aug 14, 2024
17.0.0 Jul 19, 2024
0.0.0 Nov 21, 2022

#613 in Magic Beans

Download history 1299/week @ 2024-09-28 693/week @ 2024-10-05 799/week @ 2024-10-12 944/week @ 2024-10-19 794/week @ 2024-10-26 1052/week @ 2024-11-02 722/week @ 2024-11-09 1353/week @ 2024-11-16 1209/week @ 2024-11-23 1165/week @ 2024-11-30 1536/week @ 2024-12-07 1619/week @ 2024-12-14 897/week @ 2024-12-21 979/week @ 2024-12-28 1103/week @ 2025-01-04 1179/week @ 2025-01-11

4,366 downloads per month
Used in 35 crates (24 directly)

GPL-3.0-only

185KB
4K SLoC

Release

Polkadot SDK Stable 2412


lib.rs:

Utility module for subsystems

Many subsystems have common interests such as canceling a bunch of spawned jobs, or determining what their validator ID is. These common interests are factored into this module.

This crate also reexports Prometheus metric types which are expected to be implemented by subsystems.

Dependencies

~93–130MB
~2.5M SLoC