ahabhgk / sass-embedded-host-rust

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

Home Page:https://crates.io/crates/sass-embedded

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

https://crates.io/crates/sass-embedded


Languages

Language:Rust 98.5%Language:JavaScript 1.5%