2023-01-02 21:00:42 +00:00
|
|
|
# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
2020-09-21 12:26:41 +00:00
|
|
|
|
2019-02-27 00:23:30 +00:00
|
|
|
[workspace]
|
2021-08-24 11:29:42 +00:00
|
|
|
resolver = "2"
|
2019-02-27 00:23:30 +00:00
|
|
|
members = [
|
2021-05-17 21:11:40 +00:00
|
|
|
"bench_util",
|
2019-03-30 18:45:36 +00:00
|
|
|
"cli",
|
2022-11-28 22:28:54 +00:00
|
|
|
"cli/napi/sym",
|
2019-02-27 00:23:30 +00:00
|
|
|
"core",
|
2022-03-14 17:44:15 +00:00
|
|
|
"ops",
|
2020-12-13 18:45:53 +00:00
|
|
|
"runtime",
|
2021-10-19 22:00:45 +00:00
|
|
|
"serde_v8",
|
2021-08-06 21:28:10 +00:00
|
|
|
"test_ffi",
|
2022-10-05 14:06:44 +00:00
|
|
|
"test_napi",
|
2020-06-18 15:54:55 +00:00
|
|
|
"test_util",
|
2021-08-11 10:27:05 +00:00
|
|
|
"ext/broadcast_channel",
|
2022-09-28 12:11:12 +00:00
|
|
|
"ext/cache",
|
2021-08-11 10:27:05 +00:00
|
|
|
"ext/console",
|
|
|
|
"ext/crypto",
|
|
|
|
"ext/fetch",
|
2022-08-18 12:05:02 +00:00
|
|
|
"ext/flash",
|
2021-08-11 10:27:05 +00:00
|
|
|
"ext/ffi",
|
2023-03-07 09:13:44 +00:00
|
|
|
"ext/fs",
|
2021-08-11 10:27:05 +00:00
|
|
|
"ext/http",
|
2023-03-05 00:39:48 +00:00
|
|
|
"ext/io",
|
2021-08-11 10:27:05 +00:00
|
|
|
"ext/net",
|
2022-08-11 21:25:41 +00:00
|
|
|
"ext/node",
|
2021-08-11 10:27:05 +00:00
|
|
|
"ext/url",
|
|
|
|
"ext/web",
|
|
|
|
"ext/webgpu",
|
|
|
|
"ext/webidl",
|
|
|
|
"ext/websocket",
|
|
|
|
"ext/webstorage",
|
2022-10-05 14:06:44 +00:00
|
|
|
"ext/napi",
|
2023-01-23 22:41:02 +00:00
|
|
|
"lockfile",
|
2019-02-27 00:23:30 +00:00
|
|
|
]
|
2021-05-17 21:11:40 +00:00
|
|
|
exclude = ["test_util/std/hash/_wasm"]
|
2021-04-09 18:03:32 +00:00
|
|
|
|
2022-11-22 20:07:35 +00:00
|
|
|
[workspace.package]
|
|
|
|
authors = ["the Deno authors"]
|
|
|
|
edition = "2021"
|
|
|
|
license = "MIT"
|
|
|
|
repository = "https://github.com/denoland/deno"
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2023-03-09 19:51:26 +00:00
|
|
|
v8 = { version = "0.64.0", default-features = false }
|
2023-02-10 03:00:23 +00:00
|
|
|
deno_ast = { version = "0.24.0", features = ["transpiling"] }
|
2022-11-22 20:07:35 +00:00
|
|
|
|
2023-02-25 03:37:46 +00:00
|
|
|
deno_core = { version = "0.173.0", path = "./core" }
|
|
|
|
deno_ops = { version = "0.51.0", path = "./ops" }
|
|
|
|
serde_v8 = { version = "0.84.0", path = "./serde_v8" }
|
|
|
|
deno_runtime = { version = "0.99.0", path = "./runtime" }
|
|
|
|
napi_sym = { version = "0.21.0", path = "./cli/napi/sym" }
|
|
|
|
deno_bench_util = { version = "0.85.0", path = "./bench_util" }
|
2022-11-22 20:07:35 +00:00
|
|
|
test_util = { path = "./test_util" }
|
2023-02-25 03:37:46 +00:00
|
|
|
deno_lockfile = { version = "0.7.0", path = "./lockfile" }
|
2022-11-22 20:07:35 +00:00
|
|
|
|
|
|
|
# exts
|
2023-02-25 03:37:46 +00:00
|
|
|
deno_broadcast_channel = { version = "0.85.0", path = "./ext/broadcast_channel" }
|
|
|
|
deno_cache = { version = "0.23.0", path = "./ext/cache" }
|
|
|
|
deno_console = { version = "0.91.0", path = "./ext/console" }
|
|
|
|
deno_crypto = { version = "0.105.0", path = "./ext/crypto" }
|
|
|
|
deno_fetch = { version = "0.115.0", path = "./ext/fetch" }
|
|
|
|
deno_ffi = { version = "0.78.0", path = "./ext/ffi" }
|
|
|
|
deno_flash = { version = "0.27.0", path = "./ext/flash" }
|
2023-03-07 09:13:44 +00:00
|
|
|
deno_fs = { version = "0.1.0", path = "./ext/fs" }
|
2023-02-25 03:37:46 +00:00
|
|
|
deno_http = { version = "0.86.0", path = "./ext/http" }
|
2023-03-05 00:39:48 +00:00
|
|
|
deno_io = { version = "0.1.0", path = "./ext/io" }
|
2023-02-25 03:37:46 +00:00
|
|
|
deno_net = { version = "0.83.0", path = "./ext/net" }
|
|
|
|
deno_node = { version = "0.28.0", path = "./ext/node" }
|
|
|
|
deno_tls = { version = "0.78.0", path = "./ext/tls" }
|
|
|
|
deno_url = { version = "0.91.0", path = "./ext/url" }
|
|
|
|
deno_web = { version = "0.122.0", path = "./ext/web" }
|
|
|
|
deno_webgpu = { version = "0.92.0", path = "./ext/webgpu" }
|
|
|
|
deno_webidl = { version = "0.91.0", path = "./ext/webidl" }
|
|
|
|
deno_websocket = { version = "0.96.0", path = "./ext/websocket" }
|
|
|
|
deno_webstorage = { version = "0.86.0", path = "./ext/webstorage" }
|
|
|
|
deno_napi = { version = "0.21.0", path = "./ext/napi" }
|
2022-11-22 20:07:35 +00:00
|
|
|
|
|
|
|
anyhow = "1.0.57"
|
|
|
|
async-trait = "0.1.51"
|
|
|
|
atty = "=0.2.14"
|
|
|
|
base64 = "=0.13.1"
|
|
|
|
bencher = "0.1"
|
|
|
|
bytes = "=1.2.1"
|
|
|
|
cache_control = "=0.2.0"
|
2023-03-10 00:09:14 +00:00
|
|
|
console_static_text = "=0.7.1"
|
2022-11-22 20:07:35 +00:00
|
|
|
data-url = "=0.2.0"
|
|
|
|
dlopen = "0.1.8"
|
|
|
|
encoding_rs = "=0.8.31"
|
|
|
|
flate2 = "=1.0.24"
|
2023-03-08 15:13:13 +00:00
|
|
|
fs3 = "0.5.0"
|
2022-11-22 20:07:35 +00:00
|
|
|
futures = "0.3.21"
|
|
|
|
http = "=0.2.8"
|
|
|
|
hyper = "0.14.18"
|
2023-02-24 00:20:54 +00:00
|
|
|
indexmap = { version = "1.9.2", features = ["serde"] }
|
2022-12-09 02:29:10 +00:00
|
|
|
libc = "0.2.126"
|
2022-11-22 20:07:35 +00:00
|
|
|
log = "=0.4.17"
|
2023-03-08 23:15:20 +00:00
|
|
|
lsp-types = "=0.93.2" # used by tower-lsp and "proposed" feature is unstable in patch releases
|
2022-11-22 20:07:35 +00:00
|
|
|
lzzzz = "1.0"
|
|
|
|
notify = "=5.0.0"
|
2023-03-08 15:49:13 +00:00
|
|
|
once_cell = "1.17.1"
|
2022-11-22 20:07:35 +00:00
|
|
|
os_pipe = "=1.0.1"
|
|
|
|
parking_lot = "0.12.0"
|
|
|
|
percent-encoding = "=2.2.0"
|
|
|
|
pin-project = "1.0.11" # don't pin because they yank crates from cargo
|
|
|
|
pretty_assertions = "=1.3.0"
|
|
|
|
rand = "=0.8.5"
|
2023-02-27 06:30:45 +00:00
|
|
|
regex = "^1.7.0"
|
2022-11-22 20:07:35 +00:00
|
|
|
reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli", "socks"] }
|
|
|
|
ring = "=0.16.20"
|
|
|
|
rusqlite = { version = "=0.28.0", features = ["unlock_notify", "bundled"] }
|
|
|
|
rustls = "0.20.5"
|
|
|
|
rustls-pemfile = "1.0.0"
|
2023-02-01 14:40:35 +00:00
|
|
|
serde = { version = "1.0.149", features = ["derive"] }
|
2022-11-22 20:07:35 +00:00
|
|
|
serde_bytes = "0.11"
|
2023-02-01 14:40:35 +00:00
|
|
|
serde_json = "1.0.85"
|
2022-11-22 20:07:35 +00:00
|
|
|
serde_repr = "=0.1.9"
|
2023-01-18 15:18:41 +00:00
|
|
|
sha2 = { version = "0.10.6", features = ["oid"] }
|
2022-11-22 20:07:35 +00:00
|
|
|
smallvec = "1.8"
|
|
|
|
socket2 = "0.4.7"
|
|
|
|
tar = "=0.4.38"
|
2023-02-16 23:34:12 +00:00
|
|
|
tokio = { version = "=1.25.0", features = ["full"] }
|
2022-11-22 20:07:35 +00:00
|
|
|
tokio-rustls = "0.23.3"
|
|
|
|
tokio-tungstenite = "0.16.1"
|
2023-02-26 19:39:06 +00:00
|
|
|
tokio-util = "0.7.4"
|
2023-03-08 23:15:20 +00:00
|
|
|
tower-lsp = { version = "=0.17.0", features = ["proposed"] }
|
2022-11-22 20:07:35 +00:00
|
|
|
url = { version = "2.3.1", features = ["serde", "expose_internals"] }
|
2023-02-26 19:53:52 +00:00
|
|
|
uuid = { version = "1.3.0", features = ["v4"] }
|
2022-11-22 20:07:35 +00:00
|
|
|
zstd = "=0.11.2"
|
|
|
|
|
2023-02-20 16:52:28 +00:00
|
|
|
# crypto
|
|
|
|
rsa = { version = "0.7.0", default-features = false, features = ["std", "pem"] }
|
|
|
|
|
2023-01-30 14:14:16 +00:00
|
|
|
# webgpu
|
|
|
|
raw-window-handle = "0.5.0"
|
|
|
|
wgpu-core = "0.15"
|
|
|
|
wgpu-types = "0.15"
|
|
|
|
|
2022-11-22 20:07:35 +00:00
|
|
|
# macros
|
|
|
|
proc-macro2 = "1"
|
|
|
|
quote = "1"
|
|
|
|
syn = { version = "1", features = ["full", "extra-traits"] }
|
|
|
|
|
|
|
|
# unix
|
|
|
|
nix = "=0.24.2"
|
|
|
|
|
|
|
|
# windows deps
|
|
|
|
fwdansi = "=1.1.0"
|
|
|
|
winres = "=0.1.12"
|
|
|
|
winapi = "=0.3.9"
|
|
|
|
|
2021-05-11 22:06:58 +00:00
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
2021-04-09 18:03:32 +00:00
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
2021-04-10 06:46:27 +00:00
|
|
|
incremental = true
|
2021-04-09 18:03:32 +00:00
|
|
|
lto = true
|
2022-09-27 12:55:02 +00:00
|
|
|
opt-level = 'z' # Optimize for size
|
2021-04-09 18:03:32 +00:00
|
|
|
|
2023-02-10 03:00:23 +00:00
|
|
|
# Build release with debug symbols: cargo build --profile=release-with-debug
|
|
|
|
[profile.release-with-debug]
|
|
|
|
inherits = "release"
|
|
|
|
debug = true
|
|
|
|
|
2021-05-11 22:06:58 +00:00
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
2021-04-09 18:03:32 +00:00
|
|
|
[profile.bench]
|
|
|
|
codegen-units = 1
|
2021-04-10 06:46:27 +00:00
|
|
|
incremental = true
|
2021-04-09 18:03:32 +00:00
|
|
|
lto = true
|
2022-09-27 12:55:02 +00:00
|
|
|
opt-level = 'z' # Optimize for size
|
2021-04-09 18:03:32 +00:00
|
|
|
|
2021-08-13 08:08:13 +00:00
|
|
|
# Key generation is too slow on `debug`
|
|
|
|
[profile.dev.package.num-bigint-dig]
|
|
|
|
opt-level = 3
|
|
|
|
|
2021-05-11 22:06:58 +00:00
|
|
|
# Optimize these packages for performance.
|
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
|
|
|
[profile.bench.package.rand]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.flate2]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.brotli]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.miniz_oxide]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.async-compression]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.brotli-decompressor]
|
|
|
|
opt-level = 3
|
2022-03-13 23:19:53 +00:00
|
|
|
[profile.bench.package.deno_bench_util]
|
|
|
|
opt-level = 3
|
2021-05-11 22:06:58 +00:00
|
|
|
[profile.bench.package.deno_core]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_runtime]
|
|
|
|
opt-level = 3
|
2021-07-12 10:44:49 +00:00
|
|
|
[profile.bench.package.deno_http]
|
|
|
|
opt-level = 3
|
2022-03-13 23:19:53 +00:00
|
|
|
[profile.bench.package.deno_web]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_broadcast_channel]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_fetch]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_ffi]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_tls]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_websocket]
|
|
|
|
opt-level = 3
|
2021-07-05 23:23:18 +00:00
|
|
|
[profile.bench.package.deno_net]
|
|
|
|
opt-level = 3
|
2022-03-13 23:19:53 +00:00
|
|
|
[profile.bench.package.deno_crypto]
|
|
|
|
opt-level = 3
|
2023-03-05 14:53:42 +00:00
|
|
|
[profile.bench.package.deno_node]
|
|
|
|
opt-level = 3
|
2021-08-13 08:08:13 +00:00
|
|
|
[profile.bench.package.num-bigint-dig]
|
|
|
|
opt-level = 3
|
2021-10-27 21:26:15 +00:00
|
|
|
[profile.bench.package.v8]
|
2021-05-11 22:06:58 +00:00
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.serde_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.serde]
|
|
|
|
opt-level = 3
|
2021-08-19 17:11:27 +00:00
|
|
|
[profile.bench.package.deno_url]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.url]
|
|
|
|
opt-level = 3
|
2021-11-04 14:44:57 +00:00
|
|
|
[profile.bench.package.bytes]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.futures-util]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.hyper]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.tokio]
|
|
|
|
opt-level = 3
|
2022-01-10 23:51:23 +00:00
|
|
|
[profile.bench.package.zstd]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.lzzzz]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.zstd-sys]
|
|
|
|
opt-level = 3
|
2022-06-29 15:42:39 +00:00
|
|
|
[profile.bench.package.base64-simd]
|
|
|
|
opt-level = 3
|
2021-05-11 22:06:58 +00:00
|
|
|
|
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
2021-02-18 14:46:31 +00:00
|
|
|
[profile.release.package.rand]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.flate2]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.brotli]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.miniz_oxide]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.async-compression]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.brotli-decompressor]
|
2021-03-26 02:36:46 +00:00
|
|
|
opt-level = 3
|
2022-03-13 23:19:53 +00:00
|
|
|
[profile.release.package.deno_bench_util]
|
|
|
|
opt-level = 3
|
2021-04-06 17:38:49 +00:00
|
|
|
[profile.release.package.deno_core]
|
|
|
|
opt-level = 3
|
2021-04-11 12:10:22 +00:00
|
|
|
[profile.release.package.deno_runtime]
|
|
|
|
opt-level = 3
|
2021-07-12 10:44:49 +00:00
|
|
|
[profile.release.package.deno_http]
|
|
|
|
opt-level = 3
|
2022-08-18 12:05:02 +00:00
|
|
|
[profile.release.package.deno_flash]
|
|
|
|
opt-level = 3
|
2021-07-05 23:23:18 +00:00
|
|
|
[profile.release.package.deno_net]
|
|
|
|
opt-level = 3
|
2022-03-13 23:19:53 +00:00
|
|
|
[profile.release.package.deno_web]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.deno_crypto]
|
|
|
|
opt-level = 3
|
2023-03-05 14:53:42 +00:00
|
|
|
[profile.release.package.deno_node]
|
|
|
|
opt-level = 3
|
2022-03-13 23:19:53 +00:00
|
|
|
[profile.release.package.deno_broadcast_channel]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.deno_fetch]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.deno_ffi]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.deno_tls]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.deno_websocket]
|
|
|
|
opt-level = 3
|
2022-10-05 14:06:44 +00:00
|
|
|
[profile.release.package.deno_napi]
|
|
|
|
opt-level = 3
|
2022-10-07 10:54:01 +00:00
|
|
|
[profile.release.package.test_napi]
|
|
|
|
opt-level = 3
|
2021-08-13 08:08:13 +00:00
|
|
|
[profile.release.package.num-bigint-dig]
|
|
|
|
opt-level = 3
|
2021-10-27 21:26:15 +00:00
|
|
|
[profile.release.package.v8]
|
2021-04-06 17:38:49 +00:00
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.serde_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.serde]
|
|
|
|
opt-level = 3
|
2021-08-19 17:11:27 +00:00
|
|
|
[profile.release.package.deno_url]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.url]
|
|
|
|
opt-level = 3
|
2021-11-04 14:44:57 +00:00
|
|
|
[profile.release.package.bytes]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.futures-util]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.hyper]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.tokio]
|
|
|
|
opt-level = 3
|
2022-01-10 23:51:23 +00:00
|
|
|
[profile.release.package.zstd]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.lzzzz]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.zstd-sys]
|
|
|
|
opt-level = 3
|
2022-06-29 15:42:39 +00:00
|
|
|
[profile.release.package.base64-simd]
|
|
|
|
opt-level = 3
|