56 releases (34 major breaking)

36.0.0 Apr 30, 2024
35.0.0 Apr 8, 2024
34.0.0 Mar 18, 2024
33.0.0 Feb 26, 2024
2.0.0-alpha.5 Mar 24, 2020

#1350 in Magic Beans

Download history 8578/week @ 2024-01-23 7232/week @ 2024-01-30 10358/week @ 2024-02-06 10912/week @ 2024-02-13 8690/week @ 2024-02-20 9379/week @ 2024-02-27 8962/week @ 2024-03-05 9231/week @ 2024-03-12 11658/week @ 2024-03-19 7982/week @ 2024-03-26 13447/week @ 2024-04-02 10261/week @ 2024-04-09 9035/week @ 2024-04-16 9279/week @ 2024-04-23 8683/week @ 2024-04-30 7360/week @ 2024-05-07

36,197 downloads per month
Used in 672 crates (512 directly)

Apache-2.0

1MB
20K 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

~14–27MB
~440K SLoC