Crates.io | critters-rs |
lib.rs | critters-rs |
version | 1.2.0 |
created_at | 2024-10-10 02:17:42.364964+00 |
updated_at | 2025-09-25 17:51:55.97213+00 |
description | Quickly inline your website's critical CSS. |
homepage | https://github.com/michaelhthomas/critters-rs |
repository | https://github.com/michaelhthomas/critters-rs |
max_upload_size | |
id | 1403363 |
size | 264,854 |
critters_rs
🦔Rapidly inline your site's critical CSS.
lightningcss
First, install the critters
cli command globally:
cargo install critters-rs
Then, execute critters
on a folder with your preferred options,
critters -p ./dist {options}
or view all the possible options:
critters -h
See the documentation in the package's README.
View the documentation for the Rust crate at https://docs.rs/critters-rs/.
View the documentation for other integrations in their package READMEs:
This project is heavily inspired by https://github.com/GoogleChromeLabs/critters, aiming to provide identical functionality while offering considerably improved performance. Much credit goes to the Google Chrome team for their work on the original library.