fix cannot find trait ToNapiValue
error
This commit is contained in:
parent
ce308a3b54
commit
09d7fd671a
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ use std::mem;
|
||||||
use std::os::raw::{c_char, c_void};
|
use std::os::raw::{c_char, c_void};
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
#[cfg(all(feature = "tokio_rt", feature = "napi4"))]
|
#[cfg(all(feature = "napi4"))]
|
||||||
use crate::bindgen_runtime::ToNapiValue;
|
use crate::bindgen_runtime::ToNapiValue;
|
||||||
use crate::{
|
use crate::{
|
||||||
async_work::{self, AsyncWorkPromise},
|
async_work::{self, AsyncWorkPromise},
|
||||||
|
|
Loading…
Reference in a new issue