#sass #css #macro #web #scss

macro rsass-macros

Sass as a rust function-like macro

3 unstable releases

0.28.8 Jan 1, 2024
0.28.0 Jul 9, 2023
0.27.0 Jan 17, 2023

#10 in #scss

Download history 7/week @ 2023-12-29 2/week @ 2024-02-16 20/week @ 2024-02-23 58/week @ 2024-03-01 8/week @ 2024-03-08

86 downloads per month

MIT/Apache

660KB
18K SLoC

rsass-macros

Sass reimplemented in rust with nom. The "r" in the name might stand for the Rust programming language, for "re-implemented", or possibly for my name Rasmus.

This is the rsass-macros crate, giving rust projects access to sass-compiled strings in compile-time. To use it, add rsass-macros to your dependencies in a rust project.

cargo add rsass-macros

Crate docs Github build

Sass language and implementation status

The sass language is defined in its reference doc. See the rsass crate or the the rsass monorepo for the implementation status.

Contributing

Welcome! Please see the rsass monorepo about contributing.

Dependencies

~2.1–3MB
~58K SLoC