docs: update readme

This commit is contained in:
LongYinan 2020-07-16 12:43:09 +08:00
parent 5113637c15
commit 7624719721
No known key found for this signature in database
GPG key ID: A3FFE134A3E20881
2 changed files with 7 additions and 7 deletions

View file

@ -4,9 +4,9 @@
# Platform Support
![](https://github.com/Brooooooklyn/napi-rs/workflows/macOS/badge.svg)
![](https://github.com/Brooooooklyn/napi-rs/workflows/Linux/badge.svg)
![](https://github.com/Brooooooklyn/napi-rs/workflows/Windows/badge.svg)
![](https://github.com/napi-rs/napi-rs/workflows/macOS/badge.svg)
![](https://github.com/napi-rs/napi-rs/workflows/Linux/badge.svg)
![](https://github.com/napi-rs/napi-rs/workflows/Windows/badge.svg)
## Operating Systems
@ -57,10 +57,10 @@ In your `Cargo.toml` you need to set the `crate-type` to `"cdylib"` so that carg
crate-type = ["cdylib"]
[dependencies]
napi-rs = "0.1"
napi = "0.4"
[build-dependencies]
napi-build = "0.1"
napi-build = "0.2"
```
And create `build.rs` in your own project:

View file

@ -27,9 +27,9 @@
"test": "ava"
},
"bugs": {
"url": "https://github.com/Brooooooklyn/napi-rs/issues"
"url": "https://github.com/napi-rs/napi-rs/issues"
},
"homepage": "https://github.com/Brooooooklyn/napi-rs#readme",
"homepage": "https://github.com/napi-rs/napi-rs#readme",
"dependencies": {
"minimist": "^1.2.5",
"toml": "^3.0.0"