55 releases (33 major breaking)

new 35.0.0 Apr 8, 2024
34.0.0 Mar 18, 2024
33.0.0 Feb 26, 2024
32.0.0 Feb 13, 2024
2.0.0-alpha.5 Mar 24, 2020

#1248 in Magic Beans

Download history 5790/week @ 2023-12-18 3313/week @ 2023-12-25 5530/week @ 2024-01-01 9630/week @ 2024-01-08 7406/week @ 2024-01-15 8696/week @ 2024-01-22 7184/week @ 2024-01-29 9946/week @ 2024-02-05 10933/week @ 2024-02-12 8243/week @ 2024-02-19 10036/week @ 2024-02-26 9091/week @ 2024-03-04 8100/week @ 2024-03-11 11905/week @ 2024-03-18 9003/week @ 2024-03-25 12406/week @ 2024-04-01

42,109 downloads per month
Used in 654 crates (499 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

~15–27MB
~433K SLoC