130 Commits

Author SHA1 Message Date
Kasper
794b47e448 v1.4.0 2021-03-15 18:16:48 +01:00
Kasper
0d2d13c5c6 Update README.md 2021-03-15 18:11:23 +01:00
Kasper
b5a7b2e2f4 cargo update 2021-03-15 00:51:46 +01:00
Kasper
5e72a86ced Make cpc case insensitive 2021-03-15 00:48:06 +01:00
Kasper
1db9598cd2 Switch back to official decimal
Switch back to official `decimal` because https://github.com/alkis/decimal/issues/59 is fixed
2021-03-15 00:45:08 +01:00
Kasper
065adb3d29
Update README.md 2021-02-28 23:39:06 +01:00
Kasper
e2f284290d v1.3.2 2021-02-08 02:41:17 +01:00
Kasper
b9a1e13146 Fix incorrect parsing of named numbers Duodecillion and greater
Named numbers `Duodecillion` and greater had an extra zero in them
2021-02-08 02:29:07 +01:00
Kasper
e4684e72e3
Update README.md 2021-02-01 00:53:55 +01:00
Kasper
6b7f0687ac Update README.md 2021-01-20 22:28:28 +01:00
Kasper
a941228ab0 Add readme badges 2021-01-20 22:26:36 +01:00
Kasper
d0d37e988c v1.3.1 2021-01-14 18:03:10 +01:00
Kasper
c5afa7e01d
Merge pull request #3 from joseluis/master
fix spelling: Celcius → Celsius
2021-01-14 17:34:59 +01:00
joseLuís
1065d024dd fix spelling: Celcius → Celsius 2021-01-14 17:12:11 +01:00
Kasper
249e44d858 Update README.md 2021-01-06 19:34:21 +01:00
Kasper
903c4b00e3 Update CHANGELOG.md 2020-11-29 04:06:13 +01:00
Kasper
6b9284689e v1.3.0 2020-11-29 03:53:40 +01:00
Kasper
72037bfd15 Added unit of mass stone 2020-11-26 18:28:34 +01:00
Kasper
dcc948b5d5 Remove unused LexerKeyword PoundWord 2020-11-26 18:26:55 +01:00
Kasper
6cc278a829 Add keyword pounds-force 2020-11-26 18:23:47 +01:00
Kasper
7826834447 Fixed lexing of pound 2020-11-26 18:22:17 +01:00
Kasper
47094869dc v1.2.0 2020-11-26 02:09:20 +01:00
Kasper
25d151465e Fix cargo doc links 2020-11-26 02:04:35 +01:00
Kasper
ef97410fe5 Updated decimal dependency to decimal_fixes_mirror
Fixed panics in Rust 1.48.0
2020-11-26 01:24:51 +01:00
Kasper
bf30ffa00b Fixed dividing a unit by NoUnit resulting in NoUnit 2020-11-26 00:10:04 +01:00
Kasper
fff5e85cb4 Update README.md 2020-11-26 00:09:20 +01:00
Kasper
5a7ec8b196 Make const fn a normal function for compatibility 2020-11-25 23:17:01 +01:00
Kasper
156c468e93 Update CHANGELOG.md 2020-11-22 08:18:03 +01:00
Kasper
269d3cc70f Added support for Power * Time and Energy / Time 2020-11-22 01:52:32 +01:00
Kasper
850e2cede5 Multiplication and division support for electric units 2020-11-22 00:28:12 +01:00
Kasper
3a0518e82d Made multiply function more DRY 2020-11-21 20:46:55 +01:00
Kasper
6553c50d1d Added units of voltage 2020-11-21 02:47:31 +01:00
Kasper
f03850f006 Added more keywords for units of current and resistance 2020-11-21 02:47:03 +01:00
Kasper
50cac79d7a Fixed lexing of "µs" 2020-11-21 02:10:20 +01:00
Kasper
5da0c5e3d7 Added units of resistance (ohm) 2020-11-21 01:22:25 +01:00
Kasper
5371f8d5ac Added units of electric current 2020-11-20 20:19:31 +01:00
Kasper
efd5b63a0d v1.1.0 2020-11-14 05:26:22 +01:00
Kasper
7284422ec0 Fixed consecutive percentage signs error 2020-11-14 05:00:22 +01:00
Kasper
03b9df2362 Fixed trailing percentage sign being ignored 2020-11-14 04:10:56 +01:00
Kasper
961daae9d5 Added named numbers (hundred, quadrillion etc) 2020-11-14 04:08:27 +01:00
Kasper
34de6af711 Improved parsing of foot-inch syntax
- 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
2020-11-13 20:42:49 +01:00
Kasper
8378364dff Added tests for units of frequency 2020-11-13 18:18:25 +01:00
Kasper
802ad3d88f Added units of frequency 2020-11-13 18:13:56 +01:00
Kasper
bba46e3ab4 Fixed readme stating performance is over 1000x worse than it is 2020-11-13 17:10:56 +01:00
Kasper
5f85d32f65 v1.0.2 2020-10-12 20:45:48 +02:00
Kasper
bb4bdb72f1
Merge pull request #1 from ethwu/master
Correct typo in lexer
2020-10-12 20:13:33 +02:00
Ethan Wu
d24d4af969 Fix bugs caused by typos
- Fix spelling of *quarter* in lexer and assign `Unit::Quarter` correctly
- Use division instead of multiplication when dividing a number by another
  number of the same unit
2020-10-12 00:19:19 -07:00
Kasper
18625d9205
Update README.md 2020-09-21 19:19:54 +02:00
Kasper
6b91b35b34 v1.0.1 2020-08-20 22:12:31 +02:00
Kasper
71c1605047 Update CHANGELOG.md 2020-08-20 22:10:18 +02:00