summaryrefslogtreecommitdiff
path: root/cli/file_fetcher.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-09-16 14:28:07 -0400
committerGitHub <noreply@github.com>2020-09-16 14:28:07 -0400
commit104aebdfb5d01f7482bacef6d58c2ce16da44334 (patch)
treeb5f815e9d8cf8fb19eda5d965ef072a5836ae887 /cli/file_fetcher.rs
parentc3ef358c01956bfa44a7427a2548943c3f045138 (diff)
Re-export deno_core::url (#7525)
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
Diffstat (limited to 'cli/file_fetcher.rs')
-rw-r--r--cli/file_fetcher.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/file_fetcher.rs b/cli/file_fetcher.rs
index 2101866dc..faf4e7a6f 100644
--- a/cli/file_fetcher.rs
+++ b/cli/file_fetcher.rs
@@ -12,6 +12,8 @@ use deno_core::error::custom_error;
use deno_core::error::generic_error;
use deno_core::error::uri_error;
use deno_core::error::AnyError;
+use deno_core::url;
+use deno_core::url::Url;
use deno_core::ModuleSpecifier;
use futures::future::FutureExt;
use log::info;
@@ -27,7 +29,6 @@ use std::result::Result;
use std::str;
use std::sync::Arc;
use std::sync::Mutex;
-use url::Url;
/// Structure representing a text document.
#[derive(Debug, Clone)]