#sass #css #web #scss #command-line-interface

app rsass-cli

Commandline interface for rsass, compiles scss to css

3 unstable releases

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

#2111 in Web programming

MIT/Apache

665KB
18K SLoC

rsass

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-cli binary crate. To use it, install it and run the binary.

cargo install rsass-cli
rsass --help

Crate Github build

Sass language and implementation status

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

.

If you want a standalone sass executable, you're probably better of with dart sass. If a rust crate is easier to install or something, feel free to use this crate.

Contributing

Welcome! The first step in any contribution is probably to either try to use the crate or to read some of the documentation. When you do, you might find something broken, not yet implemented, or just plain incomprehensible. If so, please see if there is an issue matching the problem or file a new one.

If you contribute code through a pull request, github will automatically check that the code compiles and passes its tests with all required versions of rust, and that the code is properly formatted according to rustfmt. Hopefully, I will then review the code, and either ask you for changes or merge it. This is a hobby project, so please excuse if the review is delayed.

I, the rsass maintainer, will do my best to follow both the Sass Community Guidelines and the Rust Code of Conduct, and I ask you to do the same.

Dependencies

~5–16MB
~195K SLoC