diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2021-02-26 17:16:15 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-26 12:46:15 +0100 |
| commit | 67ca978f9718dea41730276a0b0dcdbf2df3099b (patch) | |
| tree | 19e722247f40baea2fbba3dff56f5c67e75d8b48 | |
| parent | ebd2047de442334d6a8fea3a1d2d87e49980f90e (diff) | |
chore: simplify internal dependencies between crates (#9600)
| -rw-r--r-- | Cargo.lock | 3 | ||||
| -rw-r--r-- | cli/Cargo.toml | 4 | ||||
| -rw-r--r-- | cli/build.rs | 3 |
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; |
