- This repo is a minimum working example of rust-polars with WASM
- In the rust-wasm folder, run the following command:
wasm-pack build --target web
- This will create a pkg folder with the compiled Wasm file and a js file that will be used to import the wasm file into the html file.
- In the root directory we run
python server.py
to start a http server to host the index.html file. - This will start a server with the right CORS settings to have the shared array buffer working.
- Go to localhost:8000 in your browser. Localhost is important here otherwise there will be some CORS issues with the default 0.0.0.0
-
Notifications
You must be signed in to change notification settings - Fork 0
Minimum working example showing polars rust with wasm target and rayon support
License
rohit-ptl/polars-wasm-mwe
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Minimum working example showing polars rust with wasm target and rayon support
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published