diff --git a/README.md b/README.md index c53e06d..af95519 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Note that some API is still missing and may be even impossible to implement give ## Using as a library - Add `wasm_thread` to your `Cargo.toml`. -- This project supports `wasm-pack` targets `web` and `no-modules`. `es_modules` feature is enabled by default, if building for `no-modules`, use `default-feature = false` when specifying dependency. +- This project supports `wasm-pack` targets `web` and `no-modules`. `es_modules` feature is enabled by default, if building for `no-modules`, use `default-features = false` when specifying dependency. - Replace `use std::thread` with `use wasm_thread as thread`. Note that some API might be missing. - Build normally using `wasm-pack` or adapt [build_wasm.sh](build_wasm.sh) to your project.