sass-embedded

Crates.iosass-embedded
lib.rssass-embedded
version0.7.1
sourcesrc
created_at2022-08-15 08:19:04.115751
updated_at2023-05-05 08:00:57.972073
descriptionA Rust library that will communicate with Embedded Dart Sass using the Embedded Sass protocol
homepage
repositoryhttps://github.com/ahabhgk/sass-embedded-host-rust
max_upload_size
id645790
size459,023
Gengkun (ahabhgk)

documentation

https://docs.rs/sass-embedded-host-rust

README

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.
Commit count: 83

cargo fmt