From ddf35f3fa6864376ecfb917026ddfaf2ebb0435c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 18 Jun 2026 12:58:05 +0200 Subject: [PATCH] fix: exclude wasm from Rust workspace to fix Python sdist packaging The sdist built by maturin includes rust/Cargo.toml (the workspace root needed to resolve the core path dependency) but not rust/wasm/ (which is not in the Python package's dependency tree). This caused cargo vendor to fail when packaging for OpenSUSE because the workspace declared a member directory that didn't exist in the tarball. The wasm crate is standalone. It declares all its dependencies directly and doesn't rely on any workspace-level config, so removing it from the workspace doesn't affect the wasm-pack build in CI. Fixes #40 --- packages/rust/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/rust/Cargo.toml b/packages/rust/Cargo.toml index d99288b..64955dd 100644 --- a/packages/rust/Cargo.toml +++ b/packages/rust/Cargo.toml @@ -1,3 +1,4 @@ [workspace] -members = ["core", "wasm"] +members = ["core"] +exclude = ["wasm"] resolver = "2" \ No newline at end of file