🦀 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.
- Install the Protocol Buffer Compiler.
- Run
npm install && npm run setup
. - Find issues and welcome PRs.