You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,19 @@ Support Free-Threaded Wheels
92
92
FastCan has support for free-threaded (also known as nogil) CPython 3.13.
93
93
For more information about free-threaded CPython, check `how to install a free-threaded CPython <https://py-free-threading.github.io/installing_cpython/>`_.
94
94
95
+
Support WASM Wheels
96
+
-------------------
97
+
FastCan is compiled to WebAssembly (WASM) wheels using `pyodide <https://github.com/pyodide/pyodide>`_, and they are available on the assets of GitHub releases.
98
+
You can try it in a `REPL <https://pyodide.org/en/stable/console.html>`_ directly in a browser.
99
+
The WASM wheels of FastCan can be installed by
100
+
101
+
>>> import micropip # doctest: +SKIP
102
+
>>> await micropip.install('URL of the wasm wheel (end with _wasm32.whl)') # doctest: +SKIP
103
+
104
+
.. note::
105
+
Due to the Cross-Origin Resource Sharing (CORS) block in web browsers,
106
+
you may need `Allow CORS: Access-Control-Allow-Origin Chrome extension <https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf>`_.
0 commit comments