rearrange readme

This commit is contained in:
ConnorSkees 2020-04-19 16:38:42 -04:00
parent 18a04b2669
commit 515c37d110

View File

@ -2,16 +2,22 @@
An implementation of the SASS spec in pure Rust An implementation of the SASS spec in pure Rust
To run the official test suite, This crate aims to provide a high level interface for compiling SASS into
plain CSS. It offers a very limited API, currently exposing only 2 structs.
```bash This crate also comes with a binary that is intended to act as an invisible
git clone https://github.com/connorskees/grass replacement to the sass commandline executable.
cd grass
git submodule init This crate aims to achieve complete feature parity with the dart-sass reference
git submodule update implementation. A deviation from the dart-sass implementation can be considered
cargo b --release a bug except for in the following situations:
./sass-spec/sass-spec.rb -c './target/release/grass' - Error messages
``` - Error spans
- Certain aspects of the indented syntax
- Potentially others in the future
[Documentation](https://docs.rs/grass/)
[crates.io](https://crates.io/crates/grass)
The large features remaining are The large features remaining are
``` ```
@ -27,6 +33,17 @@ a special parser for plain css
string parsing/quoting/escaping (~200 tests) string parsing/quoting/escaping (~200 tests)
``` ```
To run the official test suite,
```bash
git clone https://github.com/connorskees/grass
cd grass
git submodule init
git submodule update
cargo b --release
./sass-spec/sass-spec.rb -c './target/release/grass'
```
``` ```
2020-04-07 2020-04-07
PASSING: 2031 PASSING: 2031