#near #units #parser #gas #displaying

near-units-core

Core Rust library for parsing and displaying NEAR units

2 unstable releases

0.2.0 Oct 15, 2021
0.1.0 Oct 5, 2021

#32 in #gas

Download history 194/week @ 2024-03-13 228/week @ 2024-03-20 194/week @ 2024-03-27 159/week @ 2024-04-03 173/week @ 2024-04-10 176/week @ 2024-04-17 173/week @ 2024-04-24 175/week @ 2024-05-01 141/week @ 2024-05-08 177/week @ 2024-05-15 163/week @ 2024-05-22 177/week @ 2024-05-29 144/week @ 2024-06-05 114/week @ 2024-06-12 165/week @ 2024-06-19 134/week @ 2024-06-26

584 downloads per month
Used in 8 crates (2 directly)

GPL-3.0 license

10KB
236 lines

NEAR Units

Note: It is recommended to use near-gas and near-token crates instead of near-units, as those crates provide strict type wrappers, const constructors, and overall extremely lightweight.

Rust tools to help parse and format NEAR units. For now, this means NEAR tokens and gas units.

Install

near-units="0.1.0"

Parsing strings

Dependencies

~2.5–3.5MB
~64K SLoC