Cargo Features
[dependencies]
sycamore = { version = "0.9.1", default-features = false, features = ["nightly", "hydrate", "suspense", "serde", "wasm-bindgen-interning", "web"] }
- default = wasm-bindgen-interning, web
-
These default features are set whenever
sycamore
is added without
somewhere in the dependency tree.default-features = false - nightly
-
Enables nightly of sycamore-reactive
- hydrate = web
-
Enables hydrate of sycamore-web
- suspense = futures, sycamore-futures, wasm-bindgen-futures
-
Enables suspense of sycamore-core and sycamore-web
Affects
sycamore::futures
… - serde
-
Enables serde of sycamore-reactive
- wasm-bindgen-interning default = web
-
Enables enable-interning of wasm-bindgen
- web default hydrate? wasm-bindgen-interning
-
Enables sycamore-web, wasm-bindgen, and web-sys
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.