#scss #sass #css

bin+lib rsass

Early-stage sass implementation in pure rust

27 releases

✓ Uses Rust 2018 edition

0.13.0 Apr 19, 2020
0.12.2 Feb 23, 2020
0.12.0 Dec 25, 2019
0.11.2 Sep 29, 2019
0.1.6 Mar 5, 2017

#85 in Web programming

Download history 235/week @ 2020-03-23 124/week @ 2020-03-30 248/week @ 2020-04-06 319/week @ 2020-04-13 245/week @ 2020-04-20 262/week @ 2020-04-27 140/week @ 2020-05-04 240/week @ 2020-05-11 129/week @ 2020-05-18 160/week @ 2020-05-25 193/week @ 2020-06-01 189/week @ 2020-06-08 454/week @ 2020-06-15 218/week @ 2020-06-22 203/week @ 2020-06-29 141/week @ 2020-07-06

967 downloads per month
Used in 5 crates (4 directly)




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

Crate docs Build Status Build status


To make compiling faster when rsass is used as a library crate (which is probably the dominant use-case), I have made building the command-line utility optional. To build the commandline, define the commandline feature when building.

cargo build --release --features=commandline

Sass language and implemetation status

The sass language is defined in its reference doc. This implementation is incomplete but getting there, if slowly.

Progress: 1634 of 3502 tests passed in libsass compatiblilty mode.

If you want a working rust library for sass right now, you may be better of with sass-rs or sass-alt, which are rust wrappers around libsass. Another alternative is sassers which is another early stage pure rust implementation. That said, this implementation has reached a version where I find it usable for my personal projects, and the number of working tests are improving.


~39K SLoC