Registry / build-tool / grass
library0.13.4rscratesunverified

A Sass compiler written purely in Rust.

# Cargo.toml [dependencies] grass = "0.13.4"
INSTALL
IMPORT
SIG · GRASS
G
grass
build-toolrustv0.13.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

from_string
use grass::from_string;

Compiles a Sass string to CSS.

use grass::from_string; fn main() -> Result<(), Box<dyn std::error::Error>> { let css = from_string("$color: red; body { color: $color; }", &grass::Options::default())?; println!("{}", css); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.13.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Meta
1
OpenAI (training)
1
Resources
grass — cargo add grass · libregistry