| Crates.io | sass-embedded |
| lib.rs | sass-embedded |
| version | 0.7.1 |
| created_at | 2022-08-15 08:19:04.115751+00 |
| updated_at | 2023-05-05 08:00:57.972073+00 |
| description | A Rust library that will communicate with Embedded Dart Sass using the Embedded Sass protocol |
| homepage | |
| repository | https://github.com/ahabhgk/sass-embedded-host-rust |
| max_upload_size | |
| id | 645790 |
| size | 459,023 |
🦀 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.