diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-09-21 18:36:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-21 18:36:37 +0200 |
| commit | 92edc364426ddb4c80292ebe7e702c02f9344c5b (patch) | |
| tree | 2fb92cdd08b0d10a59a2cd4b4820f7afbca17486 /cli/ops/fs_events.rs | |
| parent | 9d738fc1977e0bd3d36f361198a1101e17c3b3b3 (diff) | |
refactor: use futures and serde_json from deno_core (#7614)
Diffstat (limited to 'cli/ops/fs_events.rs')
| -rw-r--r-- | cli/ops/fs_events.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/ops/fs_events.rs b/cli/ops/fs_events.rs index a79784c5a..4832c915c 100644 --- a/cli/ops/fs_events.rs +++ b/cli/ops/fs_events.rs @@ -3,10 +3,13 @@ use crate::permissions::Permissions; use deno_core::error::bad_resource_id; use deno_core::error::AnyError; +use deno_core::futures::future::poll_fn; +use deno_core::serde_json; +use deno_core::serde_json::json; +use deno_core::serde_json::Value; use deno_core::BufVec; use deno_core::OpState; use deno_core::ZeroCopyBuf; -use futures::future::poll_fn; use notify::event::Event as NotifyEvent; use notify::Error as NotifyError; use notify::EventKind; @@ -15,7 +18,6 @@ use notify::RecursiveMode; use notify::Watcher; use serde::Deserialize; use serde::Serialize; -use serde_json::Value; use std::cell::RefCell; use std::convert::From; use std::path::PathBuf; |
