Cargo Features

cssparser has no features set by default.

[dependencies]
cssparser = { version = "0.34.0", features = ["dummy_match_byte", "bench", "skip_long_tests", "serde"] }
dummy_match_byte
bench
skip_long_tests

Useful for skipping tests when execution is slow, e.g., under miri

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework