···11# Changelog
2233+## Next
44+- Add currency units
55+36## 4.0.0 - 2026 Jun 27
47- Rewrite units to be exponent-based, making things like `km^5` and `sqkm^-1` possible
58- Add generic unit multiplication and division, such as `1kg/1m` and `1m*1kg`
···2222crate-type = ["cdylib", "rlib"]
23232424[dependencies]
2525-fastnum = "0.7"
2525+fastnum = { version = "0.7", features = ["serde"] }
2626unicode-segmentation = "1.13"
2727web-time = "1.1.0"
2828+reqwest = { version = "0.13", features = ["blocking", "json"] }
2929+serde = { version = "1.0", features = ["derive"] }
3030+serde_json = "1.0"
28312932[target.'cfg(target_arch = "wasm32")'.dependencies]
3033console_error_panic_hook = "0.1.7"
+1-4
README.md
···5252## Supported unit types
5353- Normal numbers
5454- Area
5555+- Currency
5556- Digital storage (bytes etc)
5657- Electric current
5758- Energy
···166167- Fractional numbers (to make 1/3*2*3 accurate)
167168- E notation, like 2E+10
168169- Unit types
169169- - Currency: How to go about dynamically updating the weights?
170170- - https://api.exchangerate-api.com/v4/latest/USD
171171- - https://www.coingecko.com/en/api
172172- - https://developers.coinbase.com/api/v2
173170 - Timezones
174171 - Binary/octal/decimal/hexadecimal/base32/base64
175172 - Fuel consumption