summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock3
-rw-r--r--cli/Cargo.toml4
-rw-r--r--cli/build.rs3
3 files changed, 4 insertions, 6 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 66d684f85..0556292b3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -405,11 +405,8 @@ dependencies = [
"clap",
"deno_core",
"deno_doc",
- "deno_fetch",
"deno_lint",
"deno_runtime",
- "deno_web",
- "deno_websocket",
"dissimilar",
"dprint-plugin-json",
"dprint-plugin-markdown",
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index fe475d515..9ad0c5771 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -25,9 +25,7 @@ path = "./bench/main.rs"
[build-dependencies]
deno_core = { path = "../core", version = "0.79.0" }
-deno_fetch = { path = "../op_crates/fetch", version = "0.22.0" }
-deno_web = { path = "../op_crates/web", version = "0.30.0" }
-deno_websocket = { path = "../op_crates/websocket", version = "0.5.0" }
+deno_runtime = { path = "../runtime", version = "0.9.0" }
regex = "1.4.3"
serde = { version = "1.0.123", features = ["derive"] }
diff --git a/cli/build.rs b/cli/build.rs
index eedb46383..edc524bbc 100644
--- a/cli/build.rs
+++ b/cli/build.rs
@@ -8,6 +8,9 @@ use deno_core::serde_json::json;
use deno_core::serde_json::Value;
use deno_core::JsRuntime;
use deno_core::RuntimeOptions;
+use deno_runtime::deno_fetch;
+use deno_runtime::deno_web;
+use deno_runtime::deno_websocket;
use regex::Regex;
use std::collections::HashMap;
use std::env;