2 unstable releases
0.2.0 | Oct 15, 2021 |
---|---|
0.1.0 | Oct 5, 2021 |
#28 in #gas
508 downloads per month
Used in 7 crates
(via near-units)
12KB
270 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