Cargo Features

grass = { version = "0.13.3", default-features = false, features = ["commandline", "random", "wasm-exports", "macro", "nightly"] }
default = commandline, random

todo: no commandline by default

commandline default = clap

Option (enabled by default): build a binary using clap

Required by the binary

random default

Enables random of grass_compiler


Option (enabled by default): enable the builtin functions random([$limit]) and unique-id()

wasm-exports = wasm-bindgen

Enables wasm-exports of grass_compiler


Option: expose JavaScript-friendly WebAssembly exports

macro = include_sass

Option: include the proc macro include_sass!


Enables nightly of include_sass

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

wasm-bindgen wasm-exports?
include_sass macro? nightly?
clap commandline