# rust-cssparser **Repository Path**: mirrors_servo/rust-cssparser ## Basic Information - **Project Name**: rust-cssparser - **Description**: Rust implementation of CSS Syntax Level 3 - **Primary Language**: Unknown - **License**: MPL-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-02-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README rust-cssparser ============== [![Build Status](https://github.com/servo/rust-cssparser/actions/workflows/main.yml/badge.svg)](https://github.com/servo/rust-cssparser/actions) [Documentation](https://docs.rs/cssparser) Rust implementation of [CSS Syntax Module Level 3](https://drafts.csswg.org/css-syntax/) Overview -------- Parsing CSS involves a series of steps: * When parsing from bytes, (e.g. reading a file or fetching an URL from the network,) detect the character encoding (based on a `Content-Type` HTTP header, an `@charset` rule, a BOM, etc.) and decode to Unicode text. rust-cssparser does not do this yet and just assumes UTF-8. This step is skipped when parsing from Unicode, e.g. in an HTML `