Cargo Features
[dependencies]
solstice = { version = "0.1.22", default-features = false, features = ["serialize", "derive", "web-sys"] }
- default = web-sys
-
The
web-sys
feature is set by default wheneversolstice
is added without
somewhere in the dependency tree.default-features = false - serialize = serde
- derive = solstice-derive
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.
- serde serialize?
- solstice-derive derive?
- web-sys wasm32 default