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;

Structs

More information

The sass-embedded compiler for rust host.

An exception for this crate, thrown because a Sass compilation failed or io::Error.

More information

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.

A chunk of a source file.

Options that can be passed to [Sass::compile_string].

A parsed URL record.

Enums

Possible ways to format the CSS output. The compiler is not required to support all possible options; if the host requests an unsupported style, the compiler should choose the closest supported style.

Enum wrapper for Box and Box.

Possible syntaxes for a Sass stylesheet.

Traits

More information

More information

More information

Type Definitions