Skip to content

🦐 A Rust library that will communicate with Embedded Dart Sass using the Embedded Sass protocol.

Notifications You must be signed in to change notification settings

ahabhgk/sass-embedded-host-rust

Folders and files

NameName
Last commit message
Last commit date
May 5, 2023
Aug 15, 2022
Oct 2, 2023
Aug 16, 2022
Apr 13, 2023
Aug 17, 2022
May 5, 2023
Dec 11, 2022
May 5, 2023
May 5, 2023
Aug 16, 2022
Aug 17, 2022
May 24, 2023
Aug 21, 2022
Sep 1, 2022
Sep 1, 2022
Aug 11, 2022

Repository files navigation

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

  1. Install the Protocol Buffer Compiler.
  2. Run npm install && npm run setup.
  3. Find issues and welcome PRs.