diff options
Diffstat (limited to 'core/ops.rs')
-rw-r--r-- | core/ops.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/ops.rs b/core/ops.rs index 5bd0928b6..1a2a2ebc7 100644 --- a/core/ops.rs +++ b/core/ops.rs @@ -22,7 +22,6 @@ use std::ops::DerefMut; use std::pin::Pin; use std::rc::Rc; -pub use erased_serde::Serialize as Serializable; pub type PromiseId = u64; pub type OpAsyncFuture = Pin<Box<dyn Future<Output = OpResponse>>>; pub type OpFn = @@ -60,7 +59,7 @@ impl<'a, 'b, 'c> OpPayload<'a, 'b, 'c> { } pub enum OpResponse { - Value(Box<dyn Serializable>), + Value(Box<dyn serde_v8::Serializable>), Buffer(Box<[u8]>), } |