#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

#28 in #gas

Download history 188/week @ 2023-12-06 170/week @ 2023-12-13 224/week @ 2023-12-20 111/week @ 2023-12-27 134/week @ 2024-01-03 217/week @ 2024-01-10 150/week @ 2024-01-17 182/week @ 2024-01-24 84/week @ 2024-01-31 167/week @ 2024-02-07 207/week @ 2024-02-14 275/week @ 2024-02-21 166/week @ 2024-02-28 171/week @ 2024-03-06 194/week @ 2024-03-13 167/week @ 2024-03-20

756 downloads per month
Used in 9 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