summaryrefslogtreecommitdiff
path: root/cli/http_cache.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/http_cache.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/http_cache.rs')
-rw-r--r--cli/http_cache.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/http_cache.rs b/cli/http_cache.rs
index a1147c215..94be58c3b 100644
--- a/cli/http_cache.rs
+++ b/cli/http_cache.rs
@@ -7,6 +7,7 @@
use crate::fs as deno_fs;
use crate::http_util::HeadersMap;
use deno_core::error::AnyError;
+use deno_core::url::Url;
use serde::Deserialize;
use serde::Serialize;
use std::fs;
@@ -14,7 +15,6 @@ use std::fs::File;
use std::io;
use std::path::Path;
use std::path::PathBuf;
-use url::Url;
/// Turn base of url (scheme, hostname, port) into a valid filename.
/// This method replaces port part with a special string token (because