summaryrefslogtreecommitdiff
path: root/ext/http/lib.rs
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2021-08-31 11:25:15 +0200
committerGitHub <noreply@github.com>2021-08-31 11:25:15 +0200
commitfcd0992dba9cce0539cc60cd11867f50c0cf5efb (patch)
treee15cb497fce7fa678ab3fce92907dae562faa3b2 /ext/http/lib.rs
parentca75752e5a9499a0a997809f02b18c2ba1ecd58d (diff)
fix: move unstable declarations to deno.unstable (#11876)
Diffstat (limited to 'ext/http/lib.rs')
-rw-r--r--ext/http/lib.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/http/lib.rs b/ext/http/lib.rs
index 8221a6b0d..ba6d73d5c 100644
--- a/ext/http/lib.rs
+++ b/ext/http/lib.rs
@@ -34,7 +34,6 @@ use std::borrow::Cow;
use std::cell::RefCell;
use std::future::Future;
use std::net::SocketAddr;
-use std::path::PathBuf;
use std::pin::Pin;
use std::rc::Rc;
use std::task::Context;
@@ -45,10 +44,6 @@ use tokio::io::AsyncWrite;
use tokio::sync::oneshot;
use tokio_util::io::StreamReader;
-pub fn get_unstable_declaration() -> PathBuf {
- PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("lib.deno_http.unstable.d.ts")
-}
-
pub fn init() -> Extension {
Extension::builder()
.js(include_js_files!(