1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 08:09:08 -05:00
denoland-deno/cli/Cargo.toml
Ryan Dahl 161cf7cdfd
refactor: Use Tokio's single-threaded runtime (#3844)
This change simplifies how we execute V8. Previously V8 Isolates jumped
around threads every time they were woken up. This was overly complex and
potentially hurting performance in a myriad ways. Now isolates run on
their own dedicated thread and never move.

- blocking_json spawns a thread and does not use a thread pool
- op_host_poll_worker and op_host_resume_worker are non-operational
- removes Worker::get_message and Worker::post_message
- ThreadSafeState::workers table contains WorkerChannel entries instead
  of actual Worker instances.
- MainWorker and CompilerWorker are no longer Futures.
- The multi-threaded version of deno_core_http_bench was removed.
- AyncOps no longer need to be Send + Sync

This PR is very large and several tests were disabled to speed
integration:
- installer_test_local_module_run
- installer_test_remote_module_run
- _015_duplicate_parallel_import
- _026_workers
2020-02-03 18:08:44 -05:00

74 lines
1.8 KiB
TOML

# Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno"
version = "0.32.0"
license = "MIT"
authors = ["the Deno authors"]
edition = "2018"
description = "Provides the deno executable"
repository = "https://github.com/denoland/deno"
default-run = "deno"
[lib]
name = "deno"
path = "lib.rs"
[[bin]]
name = "deno"
path = "main.rs"
[build-dependencies]
deno_core = { path = "../core", version = "0.32.0" }
deno_typescript = { path = "../deno_typescript", version = "0.32.0" }
[dependencies]
deno_core = { path = "../core", version = "0.32.0" }
deno_typescript = { path = "../deno_typescript", version = "0.32.0" }
ansi_term = "0.11.0"
atty = "0.2.13"
base64 = "0.11.0"
bytes = "0.5.3"
byteorder = "1.3.2"
brotli2 = "0.3.2"
clap = "2.33.0"
dirs = "2.0.2"
dlopen = "0.1.8"
dprint-plugin-typescript = "=0.3.0-alpha.6"
futures = { version = "0.3.1", features = [ "compat", "io-compat" ] }
glob = "0.3.0"
http = "0.2.0"
indexmap = "1.3.0"
lazy_static = "1.4.0"
libc = "0.2.66"
log = "0.4.8"
rand = "0.7.2"
regex = "1.3.1"
remove_dir_all = "0.5.2"
reqwest = { version = "0.10.1", default-features = false, features = ["rustls-tls", "stream", "gzip"] }
ring = "0.16.9"
rustyline = "5.0.6"
serde = { version = "1.0.104", features = ["derive"] }
serde_derive = "1.0.104"
serde_json = { version = "1.0.44", features = [ "preserve_order" ] }
source-map-mappings = "0.5.0"
sys-info = "0.5.8"
tempfile = "3.1.0"
termcolor = "1.0.5"
tokio = { version = "0.2", features = ["rt-core", "tcp", "process", "fs", "blocking", "sync", "io-std", "macros", "time"] }
tokio-rustls = "0.12.1"
url = "2.1.0"
utime = "0.2.1"
webpki = "0.21.0"
webpki-roots = "0.17.0"
[target.'cfg(windows)'.dependencies]
winapi = "0.3.8"
fwdansi = "1.1.0"
[target.'cfg(unix)'.dependencies]
nix = "0.14.1"
[dev-dependencies]
os_pipe = "0.9.1"