67 releases (39 major breaking)

41.1.0 Apr 3, 2025
40.1.0 Jan 27, 2025
39.0.5 Dec 20, 2024
39.0.2 Oct 9, 2024
2.0.0-alpha.5 Mar 24, 2020

#1 in #extrinsic

Download history 23787/week @ 2024-12-26 71299/week @ 2025-01-02 89831/week @ 2025-01-09 100220/week @ 2025-01-16 99037/week @ 2025-01-23 84551/week @ 2025-01-30 95688/week @ 2025-02-06 122767/week @ 2025-02-13 80469/week @ 2025-02-20 66855/week @ 2025-02-27 67859/week @ 2025-03-06 67120/week @ 2025-03-13 69256/week @ 2025-03-20 71223/week @ 2025-03-27 66535/week @ 2025-04-03 44537/week @ 2025-04-10

263,412 downloads per month
Used in 767 crates (533 directly)

Apache-2.0

1.5MB
26K SLoC

Runtime Modules shared primitive types.

License: Apache-2.0


lib.rs:

Substrate Runtime Primitives.

This crate, among other things, contains a large library of types and utilities that are used in the Substrate runtime, but are not particularly FRAME-oriented.

Block, Header and Extrinsics

Most notable, this crate contains some of the types and trait that enable important communication between the client and the runtime. This includes:

Runtime API Types

This crate also contains some types that are often used in conjuncture with Runtime APIs. Most notable:

  • ApplyExtrinsicResult, and DispatchOutcome, which dictate how the client and runtime communicate about the success or failure of an extrinsic.
  • transaction_validity, which dictates how the client and runtime communicate about the validity of an extrinsic while still in the transaction-queue.

Dependencies

~17–30MB
~493K SLoC