#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 201/week @ 2024-03-24 188/week @ 2024-03-31 147/week @ 2024-04-07 191/week @ 2024-04-14 148/week @ 2024-04-21 196/week @ 2024-04-28 120/week @ 2024-05-05 163/week @ 2024-05-12 163/week @ 2024-05-19 168/week @ 2024-05-26 172/week @ 2024-06-02 86/week @ 2024-06-09 142/week @ 2024-06-16 190/week @ 2024-06-23 99/week @ 2024-06-30 57/week @ 2024-07-07

505 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