Cargo Features

[dependencies]
hirola = { version = "0.4.0", default-features = false, features = ["dom", "ssr", "docsrs"] }
default = dom

The dom feature is set by default whenever hirola is added without default-features = false somewhere in the dependency tree.

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.

hirola-dom dom
hirola-ssr ssr?
document-features docsrs?