css_lexer 0.0.35

A spec-compliant CSS tokenizer with zero-copy cursors and optional feature gates.
docs.rs failed to build css_lexer-0.0.35
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: css_lexer-0.0.34

css_lexer

A spec-compliant CSS tokenizer with zero-copy cursors and optional feature gates.

📖 Full Documentation

Features

  • Spec-compliant: Fully implements CSS Syntax Module Level 3 tokenization rules
  • Zero-copy cursors: Efficient token streaming with minimal allocations
  • Atom-set aware: Optimized lexing for CSS keywords and identifiers
  • Allocation control: Support for custom allocators via allocator_api2 integration

Optional Features

  • miette - Enables From<> implementations for miette span types
  • serde - Enables serialization/deserialization support

Part of csskit

This crate is part of the csskit project, a comprehensive CSS toolchain.

For more information, visit csskit.rs.

License

MIT