From be68b82eb43f8e6156bad562b292af11776d38b8 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Wed, 27 Oct 2021 23:26:15 +0200 Subject: chore: update to rusty_v8 0.33.0 (#12564) --- serde_v8/src/de.rs | 1 - serde_v8/src/keys.rs | 2 -- serde_v8/src/magic/buffer.rs | 2 +- serde_v8/src/magic/value.rs | 1 - serde_v8/src/magic/zero_copy_buf.rs | 1 - serde_v8/src/payload.rs | 1 - serde_v8/src/ser.rs | 1 - serde_v8/src/serializable.rs | 1 - serde_v8/src/utils.rs | 1 - 9 files changed, 1 insertion(+), 10 deletions(-) (limited to 'serde_v8/src') diff --git a/serde_v8/src/de.rs b/serde_v8/src/de.rs index b865547ec..14edfec03 100644 --- a/serde_v8/src/de.rs +++ b/serde_v8/src/de.rs @@ -1,5 +1,4 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -use rusty_v8 as v8; use serde::de::{self, Visitor}; use serde::Deserialize; diff --git a/serde_v8/src/keys.rs b/serde_v8/src/keys.rs index ea989086c..783b7aaef 100644 --- a/serde_v8/src/keys.rs +++ b/serde_v8/src/keys.rs @@ -1,6 +1,4 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -use rusty_v8 as v8; - use std::collections::HashMap; // KeyCache stores a pool struct keys mapped to v8, diff --git a/serde_v8/src/magic/buffer.rs b/serde_v8/src/magic/buffer.rs index ef1f395fe..7a3a3b8ee 100644 --- a/serde_v8/src/magic/buffer.rs +++ b/serde_v8/src/magic/buffer.rs @@ -1,4 +1,4 @@ -use rusty_v8 as v8; +// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. use std::fmt; use std::ops::Deref; diff --git a/serde_v8/src/magic/value.rs b/serde_v8/src/magic/value.rs index 2cb622466..052230007 100644 --- a/serde_v8/src/magic/value.rs +++ b/serde_v8/src/magic/value.rs @@ -1,5 +1,4 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -use rusty_v8 as v8; use std::fmt; use std::marker::PhantomData; diff --git a/serde_v8/src/magic/zero_copy_buf.rs b/serde_v8/src/magic/zero_copy_buf.rs index 1e911c329..5c200a842 100644 --- a/serde_v8/src/magic/zero_copy_buf.rs +++ b/serde_v8/src/magic/zero_copy_buf.rs @@ -1,6 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -use rusty_v8 as v8; use std::cell::Cell; use std::ops::Deref; use std::ops::DerefMut; diff --git a/serde_v8/src/payload.rs b/serde_v8/src/payload.rs index a9fb045e3..cad9bc868 100644 --- a/serde_v8/src/payload.rs +++ b/serde_v8/src/payload.rs @@ -1,5 +1,4 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -use rusty_v8 as v8; // TODO: maybe add a Payload type that holds scope & v8::Value // so it can implement Deserialize by itself diff --git a/serde_v8/src/ser.rs b/serde_v8/src/ser.rs index a2a57d62e..386e46019 100644 --- a/serde_v8/src/ser.rs +++ b/serde_v8/src/ser.rs @@ -1,5 +1,4 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -use rusty_v8 as v8; use serde::ser; use serde::ser::Serialize; diff --git a/serde_v8/src/serializable.rs b/serde_v8/src/serializable.rs index c9182b636..6cb638440 100644 --- a/serde_v8/src/serializable.rs +++ b/serde_v8/src/serializable.rs @@ -1,5 +1,4 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -use rusty_v8 as v8; use std::any::TypeId; use std::mem::transmute_copy; diff --git a/serde_v8/src/utils.rs b/serde_v8/src/utils.rs index 6f638f7b3..f18d2269c 100644 --- a/serde_v8/src/utils.rs +++ b/serde_v8/src/utils.rs @@ -1,5 +1,4 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -use rusty_v8 as v8; use std::sync::Once; pub fn js_exec<'s>( -- cgit v1.2.3