From f59d3ee5fc892c415698244b37d9c68b871ac0bd Mon Sep 17 00:00:00 2001 From: LongYinan Date: Thu, 24 Dec 2020 13:55:21 +0800 Subject: [PATCH] feat(napi): tokio 1.0 --- napi/Cargo.toml | 2 +- test_module/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/napi/Cargo.toml b/napi/Cargo.toml index a72d4a0a..089324cd 100644 --- a/napi/Cargo.toml +++ b/napi/Cargo.toml @@ -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 diff --git a/test_module/Cargo.toml b/test_module/Cargo.toml index df29d9cb..8003411a 100644 --- a/test_module/Cargo.toml +++ b/test_module/Cargo.toml @@ -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"}