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 777/week @ 2024-07-29 1301/week @ 2024-08-05 1734/week @ 2024-08-12 2065/week @ 2024-08-19 2264/week @ 2024-08-26 1777/week @ 2024-09-02 2231/week @ 2024-09-09 22333/week @ 2024-09-16 27678/week @ 2024-09-23 30545/week @ 2024-09-30 30889/week @ 2024-10-07 32196/week @ 2024-10-14 38489/week @ 2024-10-21 31706/week @ 2024-10-28 48303/week @ 2024-11-04 36471/week @ 2024-11-11

156,365 downloads per month
Used in 23 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

~8–33MB
~510K SLoC