- Remove the
degrees
keyword which referred tocelcius
by default - Remove the
default_degrees
argument fromeval()
andlex()
. Not necessary now that thedegrees
keyword is removed
- Fix negative unary
-
always having higher precedence than^
. This resulted in-3^2
returning9
instead of-9
- Fix automatic light year unit not chosen for large distances (@gcomte)
- Improve formatting of numbers
- Remove unnecessary dependencies (@jqnatividad)
- Add
marathon
unit - Add
aarch64
binaries
- Add support for data transfer rate units (like mb/s)
- Add support for dividing length by speed (like 10 km / 100 kph)
- Fix implicit start/end parentheses
- Add operator words
plus
,minus
andtimes
- Add operator phrases
multiplied by
anddivided by
- Add operator symbol
÷
- Disallow named number followed by smaller named number (like 1 million thousand)
- Fix/improve parsing of multi-word units
- Fix light second parsed as light year
- Fix
Ω
lexing - Fix lexing of rpm units
- Add support for non-US "metre" and "litre" spellings
- Add help menu
- Add
--version
flag - Freak out instead of ignoring unexpected arguments
- Print errors to STDERR
- Fix decimeter parsed as centimeter
- Fix numbers unnecessarily displayed in E notation
- Remove
TokenVector
type - Rename
--debug
to--verbose
and-v
- Allow CLI flags before input
- Fix panic when input contains only whitespace and/or commas
- Fix d128 errors due to d128 error status not being cleared
- Fix panic when input is empty string
- Made cpc case insensitive
- Switch back to official
decimal
because decimal#59 is fixed.
- Fix incorrect parsing of named numbers
Duodecillion
and greater
- Fix spelling of
Celsius
(@joseluis)
- Added unit of mass
Stone
- Added keyword
pounds-force
(used forPoundsPerSquareInch
) - Fixed lexing of
Pound
- Added units of electric current
- Added units of voltage
- Added units of resistance
- Added support for
Voltage * ElectricCurrent
- Added support for
Voltage / ElectricCurrent
- Added support for
Voltage / Resistance
- Added support for
Power / ElectricCurrent
- Added support for
Power / Voltage
- Added support for
Power * Time
- Added support for
ElectricCurrent * Resistance
- Added support for
Energy / Time
- Fixed dividing a unit by
NoUnit
resulting inNoUnit
- Fixed interpreting of
µs
- Fixed panics caused in Rust
1.48.0
by switchingdecimal
dependency todecimal_fixes_mirror
- Added units of frequency
- Added support using foot-inch syntax with addition, like
2"+6'4"
- Unsupported foot-inch syntax like
(6)'4"
and6'4!"
now cause errors - Fixed README.md stating the performance is 1000x slower than it actually is
- Fixed trailing percentage signs being ignored when
allow_trailing_operators
is true - Fixed error caused by consecutive percentage signs
- Fix parsing of unit
Quarter
(@ethwu) - Use division instead of multiplication when dividing numbers of the same unit
Quarter
(@ethwu)
- Fixed the library not working
- Added documentation comments
- Added docs.rs documentation link
- Various fixes and improvements
- Initial release