Reference
Every flag, function, option and known divergence.
| Page | Covers |
|---|---|
| Command line | Every flag the binary accepts |
| Rust API | Entry points, Options, the traits, and Cargo features |
| JavaScript API | compileString, compile, options, results and errors |
| Compatibility | What matches dart-sass, and what does not |
The Rust API is also published on docs.rs, generated from the source.
Versions
| Crate version | 0.16.0 |
| Reference implementation | dart-sass 1.104.1 |
| Minimum supported Rust | 1.96.1 |
| Licence | MIT |
Three crates share a version and are released together: accent-sass,
accent_sass_compiler and accent-sass-macro. Depend on accent-sass; the
other two are its internals and its proc macro.
The browser package is published to npm as @zoosky/accent-sass, at the same
version as the crates.
Stability
The Sass language behaviour is the contract, and it is defined by dart-sass. Two things are explicitly not stable and should not be matched on:
- Error message wording. It may change between bugfix versions.
- Error spans. Which characters an error points at may change.
Everything else follows semantic versioning. While the major version is 0, a
breaking change bumps the minor version.