kaj/rsass
关于
用 Rust 和 nom 重新实现的 Sass。
其他项目实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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.
Commandline and library
To make compiling faster when rsass is used as a library crate (which is probably the dominant use-case), I have made the commandline interface a separate crate. When building the monorepo, both the library and the cli are built by default. To install the cli, use:
cargo install rsass-cli
To use the rust library, add rsass to your dependencies.
cargo add rsass
Note: The "Free of syn" badge above refers to the library, currently not the cli or the proc macro.
Sass language and implementation status
The sass language is defined in its reference doc. This implementation is incomplete but getting there, if slowly.
Progress: 5988 of 13041 tests passed.
If you need complete sass support, you'll need dart sass. Another alternative is grass which is another incomplete 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.
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.
探索相关项目
加载中…