Cargo Features
[dependencies]
cobalt-bin = { version = "0.19.6", default-features = false, features = ["unstable", "preview_unstable", "serve", "syntax-highlight", "sass", "html-minifier"] }
- default = html-minifier, sass, serve, syntax-highlight
-
These default features are set whenever
cobalt-bin
is added without
somewhere in the dependency tree.default-features = false - unstable
- preview_unstable
-
Enables preview_unstable of cobalt-config
- serve default = file-serve, notify
- syntax-highlight default
- sass default = sass-rs
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.
- file-serve serve
- notify serve
-
Enables notify ^6
- sass-rs sass
- html-minifier default
-
Enables html-minifier ^3.0