Release 0.12.0
- Issue #54: Add a LICENSE file.
- PR #57: Allow channel string in rgba()
- Issue #58: Let ructe::Error implement std::error::Error.
- Issue #59: Improve
@import
and media rules. - Implement
@error
and@warn
directives. - Improve string unquoting, including multi-position numerical escapes.
- Improve at-rule parsing.
- Fix strange operator handling.
- Implement modulo operator.
- Fix line breaks in comments.
- Handle bad argument to
random()
function. - Update test suite to e9e219bdf (2019-12-19).
- Some refactorig and clean-up.
Thanks to @emielbeinema, @maxbrunsfeld, and @Boiethios for contributed code and suggestios.
Tested with rustc 1.40.0 (73528e339 2019-12-16), 1.38.0 (625451e37 2019-09-23), 1.36.0 (a53f9df32 2019-07-03), 1.34.2 (6c2484dc3 2019-05-13), 1.41.0-beta.1 (eb3f7c2d3 2019-12-17), and 1.42.0-nightly (a9c1c04e9 2019-12-24).