Repository navigation
[Rust] Release 0.23.0
·
103 commits
to master
since this release
Added
- Support for CSS cascade layers (
@layer). #340 - Resolving CSS variables (
var()) to their values with theresolve_css_variablesoption. #180 - WASM support for the
httpfeature. Remote stylesheets load through the*_asyncfunctions. #264 - Non-blocking
inline_async,inline_to_async,inline_fragment_asyncandinline_fragment_to_async, as top-level functions andCSSInlinermethods, behind theasyncfeature. External stylesheets are fetched concurrently. #246 StylesheetResolver::retrieve_asyncfor custom non-blocking resolvers.
Changed
- Use
lexoptfor CLI argument parsing. - Update
reqwestto0.13. - Replace
rayonwith astd::threadworker pool in the CLI. - CLI usage errors exit with code 2 instead of 1.
- Consistent CLI usage error messages, e.g.
Error parsing arguments: invalid option '--foo'.
Fixed
- CLI leaving an empty output file when inlining fails.
--load-remote-stylesheetsCLI flag rejected without an explicit=truevalue.--end-of-options marker rejected by the CLI.-Vnot accepted by the CLI as an alias for--version.- Trailing whitespace stripped from CLI input read from stdin.