#stellar #soroban #low-level #rust

rs-stellar-base

A low level Rust library that offers a comprehensive set of functions for reading, writing, hashing, and signing primitive XDR constructs utilized in the Stellar network

1 unstable release

0.1.0 Jun 23, 2023

#36 in #stellar

Download history 8/week @ 2024-02-23 38/week @ 2024-03-01 6/week @ 2024-03-08

52 downloads per month

Apache-2.0 and LGPL-3.0+

8KB
152 lines

Stellar Base Library

A library that offers a comprehensive set of functions for reading, writing, hashing, and signing primitive XDR constructs utilized in the Stellar network. it provides a nice abstraction for building and signing transactions

Coding Best Practices Used

  1. All Rust code is linted with Clippy with the command cargo clippy. If preferred to ignore its advice, do so explicitly: #[allow(clippy::too_many_arguments)]

  2. All rust code is formatted with cargo fmt. rustfmt.toml defines the expected format.

  3. Function and local variable names follow snake_case. Structs or Enums follow CamelCase and Constants have all capital letters.

Dependencies

~1.8–6.5MB
~64K SLoC