diff options
Diffstat (limited to 'runtime/ops')
-rw-r--r-- | runtime/ops/fs.rs | 1 | ||||
-rw-r--r-- | runtime/ops/io.rs | 2 | ||||
-rw-r--r-- | runtime/ops/net.rs | 2 | ||||
-rw-r--r-- | runtime/ops/plugin.rs | 2 | ||||
-rw-r--r-- | runtime/ops/worker_host.rs | 2 |
5 files changed, 5 insertions, 4 deletions
diff --git a/runtime/ops/fs.rs b/runtime/ops/fs.rs index e88aa5ba8..cb20cf471 100644 --- a/runtime/ops/fs.rs +++ b/runtime/ops/fs.rs @@ -17,6 +17,7 @@ use deno_core::ResourceId; use deno_core::ZeroCopyBuf; use deno_crypto::rand::thread_rng; use deno_crypto::rand::Rng; +use log::debug; use serde::Deserialize; use std::cell::RefCell; use std::convert::From; diff --git a/runtime/ops/io.rs b/runtime/ops/io.rs index 75076f716..d87cfcf94 100644 --- a/runtime/ops/io.rs +++ b/runtime/ops/io.rs @@ -42,7 +42,7 @@ use tokio::net::unix; #[cfg(windows)] use std::os::windows::io::FromRawHandle; -lazy_static! { +lazy_static::lazy_static! { /// Due to portability issues on Windows handle to stdout is created from raw /// file descriptor. The caveat of that approach is fact that when this /// handle is dropped underlying file descriptor is closed - that is highly diff --git a/runtime/ops/net.rs b/runtime/ops/net.rs index 4d335c886..6ec393bac 100644 --- a/runtime/ops/net.rs +++ b/runtime/ops/net.rs @@ -1,5 +1,4 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. - use crate::ops::io::TcpStreamResource; use crate::permissions::Permissions; use crate::resolve_addr::resolve_addr; @@ -21,6 +20,7 @@ use deno_core::RcRef; use deno_core::Resource; use deno_core::ResourceId; use deno_core::ZeroCopyBuf; +use log::debug; use serde::Deserialize; use serde::Serialize; use std::borrow::Cow; diff --git a/runtime/ops/plugin.rs b/runtime/ops/plugin.rs index bfad7c673..6952cf77f 100644 --- a/runtime/ops/plugin.rs +++ b/runtime/ops/plugin.rs @@ -1,5 +1,4 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. - use crate::metrics::metrics_op; use crate::permissions::Permissions; use deno_core::error::AnyError; @@ -16,6 +15,7 @@ use deno_core::OpState; use deno_core::Resource; use deno_core::ZeroCopyBuf; use dlopen::symbor::Library; +use log::debug; use serde::Deserialize; use std::borrow::Cow; use std::cell::RefCell; diff --git a/runtime/ops/worker_host.rs b/runtime/ops/worker_host.rs index 817a4c70f..cddde985a 100644 --- a/runtime/ops/worker_host.rs +++ b/runtime/ops/worker_host.rs @@ -1,5 +1,4 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. - use crate::permissions::resolve_read_allowlist; use crate::permissions::resolve_write_allowlist; use crate::permissions::NetDescriptor; @@ -28,6 +27,7 @@ use deno_core::BufVec; use deno_core::ModuleSpecifier; use deno_core::OpState; use deno_core::ZeroCopyBuf; +use log::debug; use std::cell::RefCell; use std::collections::HashMap; use std::collections::HashSet; |