#near #units #parser #gas #displaying

near-units

Rust library for parsing and displaying NEAR units

2 unstable releases

0.2.0 Oct 15, 2021
0.1.0 Oct 5, 2021

#24 in #gas

Download history 197/week @ 2024-02-27 166/week @ 2024-03-05 187/week @ 2024-03-12 208/week @ 2024-03-19 195/week @ 2024-03-26 184/week @ 2024-04-02 151/week @ 2024-04-09 170/week @ 2024-04-16 165/week @ 2024-04-23 175/week @ 2024-04-30 125/week @ 2024-05-07 180/week @ 2024-05-14 154/week @ 2024-05-21 169/week @ 2024-05-28 140/week @ 2024-06-04 101/week @ 2024-06-11

610 downloads per month
Used in 6 crates (5 directly)

GPL-3.0 license

12KB
258 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

~3.5–5MB
~98K SLoC