fix(napi): enable napi4 when tokio_rt enabled

This commit is contained in:
LongYinan 2021-01-04 14:57:45 +08:00
parent c28f035f5c
commit 0c9981beb7
No known key found for this signature in database
GPG key ID: A3FFE134A3E20881

View file

@ -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"}