15 Commits

Author SHA1 Message Date
Connor Skees
0363134ba3 box colors and complex units 2022-12-27 19:09:43 -05:00
Connor Skees
ffaee04613
rewrite parsing, evaluation, and serialization (#67)
Adds support for the indented syntax, plain CSS imports, `@forward`, and many other previously missing features.
2022-12-26 15:33:04 -05:00
Connor Skees
d349591926 clippy 2022-09-02 17:05:04 -04:00
Connor Skees
15a58313e5 fmt, clippy 2022-02-08 20:22:38 -05:00
Connor Skees
f9455caeea derive Copy for Identifier 2020-07-08 22:38:56 -04:00
Connor Skees
65b281d1f7 reduce size of Unit enum 2020-07-08 21:39:30 -04:00
Connor Skees
57562b52d3 map equality is independent of order 2020-07-07 01:06:22 -04:00
Connor Skees
b28309147e partially implement inverse units 2020-07-04 11:04:51 -04:00
ConnorSkees
a04bc40129 make Unit and Number structs smaller 2020-06-26 04:55:00 -04:00
ConnorSkees
1b774a9b91 simplify Unit::From<String> 2020-05-06 12:01:40 -04:00
ConnorSkees
80dfc161b2 remove unused Into<String> for Unit 2020-04-26 22:23:56 -04:00
ConnorSkees
09ee456b96 explicitly match on all units in Unit::kind 2020-04-17 13:12:06 -04:00
ConnorSkees
de78c1147a manually resolve some formatting issues 2020-04-17 13:06:54 -04:00
ConnorSkees
bb87d4f4c0 handle percent op none 2020-03-31 02:11:02 -04:00
ConnorSkees
dcb712e3d4 Refactor unit conversions into separate file 2020-03-19 16:24:31 -04:00