diff --git a/.copier-answers.yaml b/.copier-answers.yaml index 176d327..a291671 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 08a244d +_commit: 28c66e4 _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: rustjswasm diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9a66af9..b602b33 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -65,7 +65,7 @@ jobs: run: make coverage - name: Upload test results (Python) - uses: actions/upload-artifact@v6 + uses: actions/upload-artifact@v7 with: name: test-results-${{ matrix.os }}-${{ matrix.python-version }} path: '**/junit.xml' @@ -106,7 +106,7 @@ jobs: CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.0 if: matrix.os != 'ubuntu-latest' - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: dist-${{matrix.os}} path: dist diff --git a/js/Cargo.toml b/js/Cargo.toml index 35f7e28..8b76e97 100644 --- a/js/Cargo.toml +++ b/js/Cargo.toml @@ -13,4 +13,4 @@ crate-type = ["cdylib"] [dependencies] python_template_rust = { path = "../rust", version = "*" } -wasm-bindgen = "0.2.108" +wasm-bindgen = "0.2.114" diff --git a/js/package.json b/js/package.json index efdff32..1a924f5 100644 --- a/js/package.json +++ b/js/package.json @@ -26,7 +26,7 @@ "access": "public" }, "scripts": { - "setup": "cargo install -f wasm-bindgen-cli --version 0.2.108", + "setup": "cargo install -f wasm-bindgen-cli --version 0.2.114", "build:debug": "node build.mjs --debug", "build:rust": "cargo build --release --all-features --target wasm32-unknown-unknown", "build:wasm-bindgen": "wasm-bindgen ../target/wasm32-unknown-unknown/release/python_template_rust.wasm --out-dir ./dist/pkg --target web", diff --git a/pyproject.toml b/pyproject.toml index ea2fe4a..4f6305d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -124,6 +124,7 @@ branch = true omit = [ "python_template_rust/tests/integration/", ] + [tool.coverage.report] exclude_also = [ "raise NotImplementedError", @@ -143,6 +144,7 @@ targets = [ [tool.hatch.build.hooks.hatch-rs] verbose = true +abi3 = true module = "python_template_rust" path = "." diff --git a/rust/Makefile b/rust/Makefile index d10474a..9e184ae 100644 --- a/rust/Makefile +++ b/rust/Makefile @@ -5,7 +5,7 @@ requirements: ## install required dev dependencies rustup component add clippy cargo install -f cargo-nextest --locked cargo install -f cargo-llvm-cov - cargo install -f wasm-bindgen-cli --version 0.2.108 + cargo install -f wasm-bindgen-cli --version 0.2.114 rustup target add wasm32-unknown-unknown develop: requirements ## install required dev dependencies