1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-08 15:19:40 -05:00

chore: simplify internal dependencies between crates (#9600)

This commit is contained in:
Divy Srivastava 2021-02-26 17:16:15 +05:30 committed by GitHub
parent ebd2047de4
commit 67ca978f97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 6 deletions

3
Cargo.lock generated
View file

@ -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",

View file

@ -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"] }

View file

@ -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;