#scss #sass #css #web #macro

macro rsass-macros

Sass as a rust function-like macro

1 unstable release

Uses new Rust 2021

0.27.0 Jan 17, 2023

#6 in #sass-reimplemented

34 downloads per month

MIT/Apache

565KB
15K 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.7MB
~52K SLoC