From fcd0992dba9cce0539cc60cd11867f50c0cf5efb Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Tue, 31 Aug 2021 11:25:15 +0200 Subject: fix: move unstable declarations to deno.unstable (#11876) --- ext/http/lib.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/http/lib.rs') 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!( -- cgit v1.2.3