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
legacy: support for sass’s legacy APIs
Re-exports§
pub use url;
Modules§
- legacy
 - Support for “legacy” features.
 
Structs§
- Compile
Result  - More information: Sass documentation
 - Embedded
 - The sass-embedded compiler for rust host.
 - Exception
 - An exception for this crate, thrown because a Sass compilation failed or 
io::Error. - Importer
Options  - Options for Importer::canonicalize or Importer::load.
 - Importer
Result  - More information: Sass documentation
 - Logger
Debug Options  - Options for Logger::debug.
 - Logger
Warn Options  - Options for Logger::warn.
 - Options
 - Options that can be passed to [Sass::compile].
 - Options
Builder  - A builder for Options.
 - Sass
 - The sass-embedded compiler for rust host.
 - Silent
 - A Logger that silently ignores all warnings and debug messages.
 - Source
Span  - More information: Sass documentation
 - String
Options  - Options that can be passed to [Sass::compile_string].
 - String
Options Builder  - A builder for StringOptions.
 - Url
 - A parsed URL record.
 
Enums§
- Output
Style  - More information: Sass documentation
 - Sass
Importer  - Enum wrapper for BoxImporter and BoxFileImporter.
 - Syntax
 - More information: Sass documentation
 
Traits§
- File
Importer  - More information: Sass documentation
 - Importer
 - More information: Sass documentation
 - Logger
 - More information: Sass documentation
 
Type Aliases§
- BoxFile
Importer  - A type alias for Box
.  - BoxImporter
 - A type alias for Box
.  - BoxLogger
 - A type alias for Box
.  - Result
 - An alias for std::result::Result<T, Exception>.