Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: handle properly async mj-include (#346)
* refactor(mrml-core): move async fetcher to mrml-core from mrml-wasm Signed-off-by: Jérémie Drouet <[email protected]> * refactor(mrml-core): move async code to AsyncMrmlParser Signed-off-by: Jérémie Drouet <[email protected]> * feat(mrml-wasm): loading include from network Signed-off-by: Jérémie Drouet <[email protected]> * style: apply cargo-fmt Signed-off-by: Jérémie Drouet <[email protected]> * style: remove useless lifetime Signed-off-by: Jérémie Drouet <[email protected]> * fix: apply clippy suggestions Signed-off-by: Jérémie Drouet <[email protected]> * refactor: replace Arc by Box Signed-off-by: Jérémie Drouet <[email protected]> * refactor: replace Arc by Rc Signed-off-by: Jérémie Drouet <[email protected]> * refactor: replace Rc with ref Signed-off-by: Jérémie Drouet <[email protected]> * refactor(mrml-core): use Rc in async context Signed-off-by: Jérémie Drouet <[email protected]> * doc(mrml-core): add some example for loaders Signed-off-by: Jérémie Drouet <[email protected]> * fix(mrml-wasm): add cfg flags on functions using async Signed-off-by: Jérémie Drouet <[email protected]> * test(mrml-wasm): test simple use cases Signed-off-by: Jérémie Drouet <[email protected]> * ci: exclude mrml-wasm from core tests Signed-off-by: Jérémie Drouet <[email protected]> --------- Signed-off-by: Jérémie Drouet <[email protected]>
- Loading branch information