#scss #sass #css #web #macro

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

#2278 in Web programming

27 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.2–3MB
~58K SLoC