mqtt5-wasm 0.8.3 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -27,13 +27,14 @@ npm install mqtt5-wasm
27
27
 
28
28
  ```toml
29
29
  [dependencies]
30
- mqtt5-wasm = "0.8"
30
+ mqtt5-wasm = "0.9"
31
31
  ```
32
32
 
33
- Build with wasm-pack:
33
+ Build with wasm-bindgen:
34
34
 
35
35
  ```bash
36
- wasm-pack build --target web --features client,broker
36
+ cargo build --target wasm32-unknown-unknown --release --features client,broker,codec
37
+ wasm-bindgen --target web --out-dir pkg target/wasm32-unknown-unknown/release/mqtt5_wasm.wasm
37
38
  ```
38
39
 
39
40
  ## Usage