5 releases (3 breaking)

0.38.0 Oct 24, 2024
0.37.1 Oct 22, 2024
0.37.0 May 28, 2024
0.36.1 May 28, 2024
0.0.1 Apr 2, 2024

#9 in #subxt

Download history 2331/week @ 2024-08-23 1815/week @ 2024-08-30 2206/week @ 2024-09-06 15102/week @ 2024-09-13 30418/week @ 2024-09-20 25461/week @ 2024-09-27 34531/week @ 2024-10-04 31829/week @ 2024-10-11 36770/week @ 2024-10-18 34772/week @ 2024-10-25 45360/week @ 2024-11-01 37385/week @ 2024-11-08 35347/week @ 2024-11-15 33265/week @ 2024-11-22 32037/week @ 2024-11-29 30033/week @ 2024-12-06

137,067 downloads per month
Used in 25 crates (4 directly)

Apache-2.0 OR GPL-3.0 and maybe GPL-3.0-or-later…

425KB
8K SLoC

Subxt-Core

This library provides a no-std compatible subset of functionality that subxt and subxt-signer rely on.


lib.rs:

subxt-core

A #[no_std] compatible subset of the functionality provided in the subxt crate. This contains the core logic for encoding and decoding things, but nothing related to networking.

Here's an overview of the main things exposed here:

  • blocks: decode and explore block bodies.
  • constants: access and validate the constant addresses in some metadata.
  • custom_values: access and validate the custom value addresses in some metadata.
  • metadata: decode bytes into the metadata used throughout this library.
  • storage: construct storage request payloads and decode the results you'd get back.
  • [tx]: construct and sign transactions (extrinsics).
  • runtime_api: construct runtime API request payloads and decode the results you'd get back.
  • events: decode and explore events.

Dependencies

~9–34MB
~529K SLoC