Cargo Features
[dependencies]
sailfish-compiler = { version = "0.8.4-beta.1", default-features = false, features = ["procmacro", "config", "minify"] }
- default = config
-
The
config
feature is set by default wheneversailfish-compiler
is added without
somewhere in the dependency tree.default-features = false - procmacro
-
Affects
sailfish-compiler::procmacro
,util::filetime
… - config default = serde, toml
- minify
-
Enables minify-html
Affects
config::Config.minify_css
,config::Config.minify_js
…
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.