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

polkadot-node-subsystem-util

Subsystem traits and message definitions

19 major breaking releases

21.0.0 Jan 29, 2025
20.0.0 Jan 14, 2025
18.0.0 Oct 1, 2024
17.1.0 Aug 14, 2024
0.0.0 Nov 21, 2022

#50 in #subsystem

Download history 849/week @ 2024-10-28 1008/week @ 2024-11-04 777/week @ 2024-11-11 1457/week @ 2024-11-18 1158/week @ 2024-11-25 1133/week @ 2024-12-02 1646/week @ 2024-12-09 1561/week @ 2024-12-16 918/week @ 2024-12-23 924/week @ 2024-12-30 1149/week @ 2025-01-06 1382/week @ 2025-01-13 1202/week @ 2025-01-20 1169/week @ 2025-01-27 1228/week @ 2025-02-03 1295/week @ 2025-02-10

5,032 downloads per month
Used in 41 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