10 releases (5 breaking)
| 0.7.1 | May 5, 2023 |
|---|---|
| 0.6.2 | Oct 25, 2022 |
| 0.6.1 | Sep 22, 2022 |
| 0.5.2 | Sep 1, 2022 |
| 0.2.0 | Aug 15, 2022 |
#1586 in Web programming
1,785 downloads per month
145KB
3K
SLoC
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);
features
legacy: support for sass's legacy APIs
sass-embedded-host-rust
🦀 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.
Contributing
- Install the Protocol Buffer Compiler.
- Run
npm install && npm run setup. - Find issues and welcome PRs.
Dependencies
~8.5MB
~147K SLoC