2 unstable releases

0.2.0 Mar 26, 2022
0.1.0 Feb 27, 2022

#1 in #telecss


Used in 3 crates

MIT license

27KB
802 lines

Telecss (WIP)

CSS tokenizer, parser, transformer, written in Rust.

This project is mainly based on the following specs:

Benchmark

Benchmarks on each commit: https://telecss.github.io/telecss/dev/bench/

This benchmark is based on parsing/tokenizing the crates/telecss/examples/normalizecss/normalize.css file, and the time-consuming of parsing includes the time-consuming of tokenizing:

  • Pure Parsing Time = Parsing Time - Tokenizing Time

TODO

Current Focus

  • parsing selectors

Schedule

Dependencies

~0.3–0.9MB
~20K SLoC