64 releases (37 major breaking)

new 39.0.5 Dec 20, 2024
39.0.2 Oct 9, 2024
39.0.0 Jul 18, 2024
38.0.1 Jul 18, 2024
2.0.0-alpha.5 Mar 24, 2020

#2 in Magic Beans

Download history 7733/week @ 2024-08-31 9162/week @ 2024-09-07 50489/week @ 2024-09-14 87940/week @ 2024-09-21 89281/week @ 2024-09-28 99443/week @ 2024-10-05 99913/week @ 2024-10-12 111022/week @ 2024-10-19 87455/week @ 2024-10-26 119348/week @ 2024-11-02 94766/week @ 2024-11-09 88181/week @ 2024-11-16 92894/week @ 2024-11-23 74453/week @ 2024-11-30 104030/week @ 2024-12-07 69046/week @ 2024-12-14

351,756 downloads per month
Used in 722 crates (537 directly)

Apache-2.0

1.5MB
20K SLoC

Runtime Modules shared primitive types.

License: Apache-2.0

Release

Polkadot SDK stable2409


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

~15–27MB
~440K SLoC