From 0c9981beb762e547a94fa717e4693077f717078c Mon Sep 17 00:00:00 2001 From: LongYinan Date: Mon, 4 Jan 2021 14:57:45 +0800 Subject: [PATCH] fix(napi): enable napi4 when tokio_rt enabled --- napi/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/napi/Cargo.toml b/napi/Cargo.toml index 9c78cc7b..1cfd9242 100644 --- a/napi/Cargo.toml +++ b/napi/Cargo.toml @@ -20,7 +20,7 @@ napi5 = ["napi4", "napi-sys/napi5"] napi6 = ["napi5", "napi-sys/napi6"] napi7 = ["napi6", "napi-sys/napi7"] serde-json = ["serde", "serde_json"] -tokio_rt = ["futures", "tokio", "once_cell"] +tokio_rt = ["futures", "tokio", "once_cell", "napi4"] [dependencies] napi-sys = {version = "1", path = "../sys"}