doc: update napi-rs usage
resolve https://github.com/napi-rs/napi-rs/issues/78
This commit is contained in:
parent
91c1ab9ea4
commit
c5d57969fe
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@ Run `cargo build` to produce the `Dynamic lib` file. And install the `napi-rs` t
|
|||
```json
|
||||
{
|
||||
"package": "your pkg",
|
||||
"dependencies": {
|
||||
"napi-rs": "^0.1"
|
||||
"devDependencies": {
|
||||
"napi-rs": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "cargo build && napi",
|
||||
|
|
Loading…
Reference in a new issue