Skip to content

Releases: probablykasper/cpc

v1.4.1

07 Apr 22:57
Compare
Choose a tag to compare
  • Fix panic when input is empty string

v1.4.0

15 Mar 17:20
Compare
Choose a tag to compare
  • Made cpc case insensitive
  • Switch back to official decimal because decimal#59 is fixed.

v1.3.2

08 Feb 01:43
Compare
Choose a tag to compare
  • Fix incorrect parsing of named numbers Duodecillion and greater

v1.3.1

14 Jan 17:07
Compare
Choose a tag to compare

v1.3.0

09 Jan 22:41
Compare
Choose a tag to compare
  • Added unit of mass Stone
  • Added keyword pounds-force (used for PoundsPerSquareInch)
  • Fixed lexing of Pound

v1.2.0

26 Nov 01:14
Compare
Choose a tag to compare
  • 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 in NoUnit
  • Fixed interpreting of µs
  • Fixed panics caused in Rust 1.48.0 by switching decimal dependency to decimal_fixes_mirror

v1.1.0

14 Nov 04:35
Compare
Choose a tag to compare
  • Added units of frequency
  • Added support using foot-inch syntax with addition, like 2"+6'4"
  • Unsupported foot-inch syntax like (6)'4" and 6'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

v1.0.2

12 Oct 19:03
Compare
Choose a tag to compare
  • Fix parsing of unit Quarter (@ethwu)
  • Use division instead of multiplication when dividing numbers of the same unit Quarter (@ethwu)

v1.0.1

20 Aug 20:15
Compare
Choose a tag to compare
  • Fixed the library not working
  • Added documentation comments
  • Added docs.rs documentation link
  • Various fixes and improvements

v1.0.0

20 Aug 09:11
Compare
Choose a tag to compare
  • Initial release