Skip to content

Commit

Permalink
feat: handle properly async mj-include (#346)
Browse files Browse the repository at this point in the history
* 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
jdrouet authored Dec 1, 2023
1 parent 7476c14 commit 15d6788
Show file tree
Hide file tree
Showing 67 changed files with 2,277 additions and 896 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mrml-core-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov

- name: run tests
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
run: cargo llvm-cov --all-features --workspace --exclude mrml-wasm --lcov --output-path lcov.info

- name: upload coverage
uses: codecov/codecov-action@v3
Expand Down
Loading

0 comments on commit 15d6788

Please sign in to comment.