Cargo Features
Yarte has no features set by default.
[dependencies]
yarte = { version = "0.15.7", features = ["wasm", "json", "html-min", "bytes-buf"] }
- wasm = bytes-buf, json
-
Enables wasm-server of yarte_derive
- json wasm? = bytes-buf
-
Enables json of yarte_derive and yarte_helpers
- html-min
-
Enables html-min of yarte_derive
- bytes-buf json? wasm? = buf-min
-
Enables bytes-buf of yarte_derive and yarte_helpers
Affects
yarte::TemplateBytesTrait
,yarte::BufferInDerive
…
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.