Cargo Features
yarte_derive has no features set by default.
[dependencies]
yarte_derive = { version = "0.15.6", features = ["wasm-app", "html-min", "wasm-server", "bytes-buf", "json"] }
- wasm-app
-
Enables wasm-app of yarte_codegen and yarte_hir
Affects
yarte_derive::app
… - html-min
-
Enables html-min of yarte_codegen
Affects
yarte_derive::template_html_min
,yarte_derive::template_html_min_ptr
,yarte_derive::template_html_min_bytes
,yarte_derive::ywrite_min
… - wasm-server
-
Enables bytes-buf and wasm-server of yarte_codegen
Affects
yarte_derive::template_wasm_server
… - bytes-buf
-
Enables bytes-buf of yarte_codegen
Affects
yarte_derive::template_bytes
,yarte_derive::template_html_bytes
,yarte_derive::ywrite
,yarte_derive::ywrite_html
,yarte_derive::html
,yarte_derive::template_html_min_bytes
,yarte_derive::ywrite_min
… - json = v_jsonescape
-
Enables json of yarte_helpers
Affects
yarte_derive::serialize_json
…
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.