#units #unc #parser #near #displaying #recommended #gas

unc-units

Rust library for parsing and displaying UNC units

1 unstable release

0.1.0 Mar 7, 2024

#536 in Science

47 downloads per month

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
~97K SLoC