🦐 A Rust library that will communicate with Embedded Dart Sass using the Embedded Sass protocol.
A Rust library that will communicate with Embedded Dart Sass using the Embedded Sass protocol.
use sass_embedded::{Sass, StringOptions};
let mut sass = Sass::new("path/to/sass_embedded").unwrap();
let res = sass.compile_string("a {b: c}", StringOptions::default()).unwrap();
println!("{:?}", res);
For more details, checkout docs.rs and examples.
npm install && npm run setup
.