#sass #css #scss

bin+lib rsass

Early-stage sass implementation in pure rust

20 releases

✓ Uses Rust 2018 edition

0.9.8 Feb 10, 2019
0.9.4 Sep 23, 2018
0.8.0 Apr 7, 2018
0.7.0 Dec 28, 2017
0.1.6 Mar 5, 2017

#143 in Web programming

Download history 295/week @ 2019-01-21 135/week @ 2019-01-28 84/week @ 2019-02-04 131/week @ 2019-02-11 226/week @ 2019-02-18 156/week @ 2019-02-25 267/week @ 2019-03-04 531/week @ 2019-03-11 459/week @ 2019-03-18 234/week @ 2019-03-25 177/week @ 2019-04-01 128/week @ 2019-04-08 162/week @ 2019-04-15 69/week @ 2019-04-22 247/week @ 2019-04-29

949 downloads per month
Used in 3 crates


7.5K SLoC


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: 1645 of 3440 tests for sass 3.6 passed

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.


~36K SLoC