Four steps from zero to compiled WebAssembly.
+Add Waspy to your Rust project:
cargo add waspy
Use the simple API to compile your Python functions:
let wasm = waspy::compile_python_to_wasm(python_code)?;
Compile entire projects with options:
let wasm = waspy::compile_python_project("./my_project", true)?;
Execute your compiled WebAssembly in any environment:
WebAssembly.instantiate(wasm).then(instance => { /* magic */ });
@@ -1150,14 +1924,12 @@
-