diff --git a/README.rst b/README.rst index c315e0d..1c2b1d7 100644 --- a/README.rst +++ b/README.rst @@ -92,6 +92,19 @@ Support Free-Threaded Wheels FastCan has support for free-threaded (also known as nogil) CPython 3.13. For more information about free-threaded CPython, check `how to install a free-threaded CPython `_. +Support WASM Wheels +------------------- +FastCan is compiled to WebAssembly (WASM) wheels using `pyodide `_, and they are available on the assets of GitHub releases. +You can try it in a `REPL `_ directly in a browser. +The WASM wheels of FastCan can be installed by + +>>> import micropip # doctest: +SKIP +>>> await micropip.install('URL of the wasm wheel (end with _wasm32.whl)') # doctest: +SKIP + +.. note:: + Due to the Cross-Origin Resource Sharing (CORS) block in web browsers, + you may need `Allow CORS: Access-Control-Allow-Origin Chrome extension `_. + Citation --------