#css #compiler #input #cli #output #build #standalone

bin+lib css-parser

CSS parser and compiler written in Rust. Can be used as standalone library or cli tool

2 unstable releases

0.2.0 Nov 15, 2021
0.1.0 Apr 8, 2021

#68 in #standalone

MIT license

44KB
1K SLoC

CSS-parser

Crates Release Crates.io Crates.io docs.rs

CSS & SCSS compiler written in Rust.

Usage:

.\css-parser build input.css output.css

Flags:

--source-maps Builds a source map
--minify      Minifies output

lib.rs:

CSS parser

Simple CSS parser and "renderer"

Dependencies

~0.9–9MB
~68K SLoC