summaryrefslogtreecommitdiff
path: root/ext/http/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/http/lib.rs')
-rw-r--r--ext/http/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/http/lib.rs b/ext/http/lib.rs
index 8719f9de6..f1371ffec 100644
--- a/ext/http/lib.rs
+++ b/ext/http/lib.rs
@@ -78,7 +78,8 @@ pub mod compressible;
mod reader_stream;
pub fn init() -> Extension {
- Extension::builder()
+ Extension::builder(env!("CARGO_PKG_NAME"))
+ .dependencies(vec!["deno_web", "deno_net", "deno_fetch", "deno_websocket"])
.js(include_js_files!(
prefix "deno:ext/http",
"01_http.js",