Cargo Features
[dependencies]
charming = { version = "0.4.0", default-features = false, features = ["html", "ssr", "wasm"] }
- default = html
-
The
html
feature is set by default whenevercharming
is added without
somewhere in the dependency tree.default-features = false - html default ssr? = handlebars
-
Affects
renderer::html_renderer
… - ssr = deno_core, html, image, resvg, serde_v8
-
Affects
renderer::image_renderer
… - wasm = serde-wasm-bindgen, wasm-bindgen, web-sys
-
Affects
renderer::wasm_renderer
…
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.
- deno_core ssr?
-
Enables deno_core ^0.311
- handlebars html
-
Enables handlebars ^4.3
- image ssr?
-
Enables image ^0.24
- resvg ssr?
-
Enables resvg ^0.36
- serde-wasm-bindgen wasm?
- serde_v8 ssr?
-
Enables serde_v8 ^0.220
- wasm-bindgen wasm?
- web-sys wasm?