···11+## 1.1.0 - 2020 Nov 14
22+- Added units of frequency
33+- Added support using foot-inch syntax with addition, like `2"+6'4"`
44+- Unsupported foot-inch syntax like `(6)'4"` and `6'4!"` now cause errors
55+- Fixed README.md stating the performance is 1000x slower than it actually is
66+- Fixed trailing percentage signs being ignored when `allow_trailing_operators` is true
77+- Fixed error caused by consecutive percentage signs
88+19## 1.0.2 - 2020 Oct 12
210- Fix parsing of unit `Quarter` (#1)
311- Use division instead of multiplication when dividing numbers of the same unit `Quarter` (#1)
···11[package]
22name = "cpc"
33-version = "1.0.2"
33+version = "1.1.0"
44description = "evaluates math expressions, with support for units and conversion between units"
55authors = ["Kasper Henningsen"]
66edition = "2018"
+1-4
README.md
···62626363(4 + 1)km to light years
64646565-10m/2s * 5s
6565+10m/2s * 5 trillion s
666667671 lightyear * 0.001mm in km2
6868···165165```
166166167167### Potential Improvements
168168-#### General
169169-- The functions in units.rs have a lot of manual if statements. This could probably be replaced with a pretty advanced macro.
170170-- Support for lexing words, like `one billion`
171168#### Potential unit types
172169Nice list of units: https://support.google.com/websearch/answer/3284611
173170- Currency: How would you go about dynamically updating the weights?