feat(napi): tokio 1.0

This commit is contained in:
LongYinan 2020-12-24 13:55:21 +08:00
parent 6a59c3549c
commit f59d3ee5fc
No known key found for this signature in database
GPG key ID: A3FFE134A3E20881
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ version = "0.3"
[dependencies.tokio]
features = ["rt", "rt-multi-thread", "sync"]
optional = true
version = "0.3"
version = "1.0"
[dependencies.once_cell]
optional = true

View file

@ -19,7 +19,7 @@ serde = "1"
serde_bytes = "0.11"
serde_derive = "1"
serde_json = "1"
tokio = {version = "0.3", features = ["default", "fs"]}
tokio = {version = "1.0", features = ["default", "fs"]}
[build-dependencies]
napi-build = {path = "../build"}