Expand description

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

Re-exports

pub use url;

Modules

Support for “legacy” features.

Structs

The sass-embedded compiler for rust host.
An exception for this crate, thrown because a Sass compilation failed or io::Error.
Options that can be passed to [Sass::compile].
A builder for Options.
The sass-embedded compiler for rust host.
A Logger that silently ignores all warnings and debug messages.
Options that can be passed to [Sass::compile_string].
A parsed URL record.

Enums

Traits

More information: Sass documentation
More information: Sass documentation

Type Definitions

A type alias for Box.
A type alias for Box.
A type alias for Box.