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
Luca Casonato 83ce333633
build: cli(build) shouldn't depend on deno_runtime (#10787)
This speeds up incremental rebuild when only touching JS files by 30%
compared to #10786.

Rebuild time after touch 01_broadcast_channel.js:

main: run 1 49.18s, run 2 50.34s
#10786: run 1 43.12s, run 2 43.19s
this + #10786: run 1 30.30s, run 2 30.95s
2021-05-29 16:25:14 +02:00

114 lines
3.6 KiB
TOML

# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno"
version = "1.10.2"
license = "MIT"
authors = ["the Deno authors"]
edition = "2018"
description = "Provides the deno executable"
repository = "https://github.com/denoland/deno"
default-run = "deno"
[[bin]]
name = "deno"
path = "main.rs"
[[bench]]
name = "deno_bench"
harness = false
path = "./bench/main.rs"
[build-dependencies]
deno_broadcast_channel = { path = "../extensions/broadcast_channel", version = "0.1.0" }
deno_console = { version = "0.7.0", path = "../extensions/console" }
deno_core = { version = "0.88.0", path = "../core" }
deno_crypto = { version = "0.21.0", path = "../extensions/crypto" }
deno_fetch = { version = "0.29.0", path = "../extensions/fetch" }
deno_file = { version = "0.6.0", path = "../extensions/file" }
deno_timers = { version = "0.5.0", path = "../extensions/timers" }
deno_url = { version = "0.7.0", path = "../extensions/url" }
deno_web = { version = "0.38.0", path = "../extensions/web" }
deno_webgpu = { version = "0.8.0", path = "../extensions/webgpu" }
deno_webidl = { version = "0.7.0", path = "../extensions/webidl" }
deno_websocket = { version = "0.12.0", path = "../extensions/websocket" }
deno_webstorage = { version = "0.2.0", path = "../extensions/webstorage" }
regex = "1.4.3"
serde = { version = "1.0.125", features = ["derive"] }
[target.'cfg(windows)'.build-dependencies]
winapi = "0.3.9"
winres = "0.1.11"
[dependencies]
deno_core = { path = "../core", version = "0.88.0" }
deno_doc = "0.4.0"
deno_lint = "0.5.0"
deno_runtime = { path = "../runtime", version = "0.15.0" }
atty = "0.2.14"
base64 = "0.13.0"
byteorder = "1.4.3"
clap = "2.33.3"
data-url = "0.1.0"
dissimilar = "1.0.2"
dprint-plugin-json = "0.10.2"
dprint-plugin-markdown = "0.7.1"
dprint-plugin-typescript = "0.45.0"
encoding_rs = "0.8.28"
env_logger = "0.8.3"
fancy-regex = "0.5.0"
filetime = "0.2.14"
http = "0.2.3"
indexmap = { version = "1.6.2", features = ["serde"] }
jsonc-parser = { version = "0.17.0", features = ["serde"] }
lazy_static = "1.4.0"
libc = "0.2.93"
log = { version = "0.4.14", features = ["serde"] }
lspower = "1.0.0"
notify = "5.0.0-pre.7"
num_cpus = "1.13.0"
percent-encoding = "2.1.0"
pin-project = "1.0.6"
regex = "1.4.3"
ring = "0.16.20"
rustyline = { version = "8.0.0", default-features = false }
rustyline-derive = "0.4.0"
semver-parser = "0.10.2"
serde = { version = "1.0.125", features = ["derive"] }
shell-escape = "0.1.5"
sourcemap = "6.0.1"
swc_bundler = "0.34.0"
swc_common = { version = "0.10.18", features = ["sourcemap"] }
swc_ecmascript = { version = "0.33.0", features = ["codegen", "dep_graph", "parser", "proposal", "react", "transforms", "typescript", "visit"] }
tempfile = "3.2.0"
termcolor = "1.1.2"
text-size = "1.1.0"
tokio = { version = "1.6.1", features = ["full"] }
tokio-rustls = "0.22.0"
uuid = { version = "0.8.2", features = ["v4", "serde"] }
walkdir = "2.3.2"
[target.'cfg(windows)'.dependencies]
fwdansi = "1.1.0"
winapi = { version = "0.3.9", features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }
[dev-dependencies]
# Used in benchmark
chrono = "0.4.19"
os_pipe = "0.9.2"
test_util = { path = "../test_util" }
tower-test = "0.4.0"
trust-dns-server = "0.20.1"
trust-dns-client = "0.20.1"
[target.'cfg(unix)'.dev-dependencies]
exec = "0.3.1" # Used in test_raw_tty
nix = "0.20.0"
[package.metadata.winres]
# This section defines the metadata that appears in the deno.exe PE header.
OriginalFilename = "deno.exe"
LegalCopyright = "© Deno contributors & Deno Land Inc. MIT licensed."
ProductName = "Deno"
FileDescription = "Deno: A secure runtime for JavaScript and TypeScript"