Reference

Every flag, function, option and known divergence.

PageCovers
Command lineEvery flag the binary accepts
Rust APIEntry points, Options, the traits, and Cargo features
JavaScript APIcompileString, compile, options, results and errors
CompatibilityWhat matches dart-sass, and what does not

The Rust API is also published on docs.rs, generated from the source.

Versions

Crate version0.16.0
Reference implementationdart-sass 1.104.1
Minimum supported Rust1.96.1
LicenceMIT

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.