diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-12-26 14:32:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-26 14:32:21 +0100 |
commit | 8fbac6739545d1d874eb1af0b2b9dddff576786c (patch) | |
tree | cd0c32251546dc491eea1c0a7fd9d4f758a1623e /cli/tools | |
parent | 753777b4affb6020739b4f74932a278f6f8afcce (diff) |
refactor: change cli/ to use hyper 1.1 (#21705)
Diffstat (limited to 'cli/tools')
-rw-r--r-- | cli/tools/registry/mod.rs | 2 | ||||
-rw-r--r-- | cli/tools/registry/tar.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/registry/mod.rs b/cli/tools/registry/mod.rs index 06d5a0091..42623039d 100644 --- a/cli/tools/registry/mod.rs +++ b/cli/tools/registry/mod.rs @@ -8,6 +8,7 @@ use std::sync::Arc; use base64::prelude::BASE64_STANDARD; use base64::Engine; +use bytes::Bytes; use deno_config::ConfigFile; use deno_core::anyhow::bail; use deno_core::anyhow::Context; @@ -20,7 +21,6 @@ use deno_runtime::colors; use deno_runtime::deno_fetch::reqwest; use http::header::AUTHORIZATION; use http::header::CONTENT_ENCODING; -use hyper::body::Bytes; use import_map::ImportMap; use lsp_types::Url; use serde::Serialize; diff --git a/cli/tools/registry/tar.rs b/cli/tools/registry/tar.rs index 7d03e10a6..14d0f4e4b 100644 --- a/cli/tools/registry/tar.rs +++ b/cli/tools/registry/tar.rs @@ -1,10 +1,10 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +use bytes::Bytes; use deno_core::anyhow; use deno_core::anyhow::Context; use deno_core::error::AnyError; use deno_core::url::Url; -use hyper::body::Bytes; use std::io::Write; use std::path::Path; use tar::Header; |