Cargo Features
[dependencies]
hirola = { version = "0.4.0", default-features = false, features = ["dom", "ssr", "docsrs"] }
- default = dom
-
The
dom
feature is set by default wheneverhirola
is added without
somewhere in the dependency tree.default-features = false - dom default = hirola-dom
-
Enables browser based rendering including websys and wasmbindgen
Affects
hirola::dom
… - ssr = hirola-ssr
-
Enables server side rendering
Affects
hirola::ssr
… - docsrs = document-features
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.