Ning Sun
Ning Sun
Attempted in #251 but for now it's not possible to get borrowed substring in serde. I'm moving this out of 2.0's scope for now.
Yes, this is known and I have a feature `no_dir_source` that disable `walkdir`
Never mind. By the way, if you are interested in a WebAssembly/JavaScript API for handlebars, feel free to discuss here. Things I have been thinking about: * a JavaScript wrapper...
Perhaps we can use `HelperOptions` to hold enough information(`render_context`, `registry` and etc) and make `template()` and `inverse()` call that actually renders the template with that information.
I see. The data exchange between js and webassembly still requires some hack. I would prefer some result string/code for `template()` and `inverse()` over static holder, since it's more predictable...
Thank you! This feature is welcomed. Do you have a full example of your current usage of this library via wasm and javascript? I'm just wondering the scenario of defining...
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option.
Added new contributors to the table. Name | Status --- | --- sunng87 | Agreed @softprops | **Pending** blaenk | Agreed @gamebox | Aggred tailhook | Agreed untitaker | Agreed...
Yes, a PR for async is welcomed. Please create it against our latest master branch because 4.0 has a new concept called `TemplateSource`. Let me know if you need help...
This is possible by down-casting `error.source()` to your own error type. I've made an example to demo this: 1. Create `RenderError` from your own error type via `RenderError::from_error`: https://github.com/sunng87/handlebars-rust/blob/master/examples/error.rs#L20 2....