2023-01-02 16:00:42 -05:00
|
|
|
# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
2020-09-21 08:26:41 -04:00
|
|
|
|
2019-02-26 19:23:30 -05:00
|
|
|
[workspace]
|
2021-08-24 07:29:42 -04:00
|
|
|
resolver = "2"
|
2019-02-26 19:23:30 -05:00
|
|
|
members = [
|
2021-05-17 17:11:40 -04:00
|
|
|
"bench_util",
|
2019-03-30 14:45:36 -04:00
|
|
|
"cli",
|
2022-11-28 17:28:54 -05:00
|
|
|
"cli/napi/sym",
|
2020-12-13 13:45:53 -05:00
|
|
|
"runtime",
|
2021-08-06 17:28:10 -04:00
|
|
|
"test_ffi",
|
2022-10-05 10:06:44 -04:00
|
|
|
"test_napi",
|
2020-06-18 11:54:55 -04:00
|
|
|
"test_util",
|
2021-08-11 06:27:05 -04:00
|
|
|
"ext/broadcast_channel",
|
2022-09-28 08:11:12 -04:00
|
|
|
"ext/cache",
|
2021-08-11 06:27:05 -04:00
|
|
|
"ext/console",
|
|
|
|
"ext/crypto",
|
|
|
|
"ext/fetch",
|
|
|
|
"ext/ffi",
|
2023-03-07 04:13:44 -05:00
|
|
|
"ext/fs",
|
2021-08-11 06:27:05 -04:00
|
|
|
"ext/http",
|
2023-03-04 19:39:48 -05:00
|
|
|
"ext/io",
|
2023-03-22 00:13:24 -04:00
|
|
|
"ext/kv",
|
2021-08-11 06:27:05 -04:00
|
|
|
"ext/net",
|
2022-08-11 17:25:41 -04:00
|
|
|
"ext/node",
|
2021-08-11 06:27:05 -04:00
|
|
|
"ext/url",
|
|
|
|
"ext/web",
|
|
|
|
"ext/webidl",
|
|
|
|
"ext/websocket",
|
|
|
|
"ext/webstorage",
|
2022-10-05 10:06:44 -04:00
|
|
|
"ext/napi",
|
2019-02-26 19:23:30 -05:00
|
|
|
]
|
2021-05-17 17:11:40 -04:00
|
|
|
exclude = ["test_util/std/hash/_wasm"]
|
2021-04-09 14:03:32 -04:00
|
|
|
|
2022-11-22 15:07:35 -05:00
|
|
|
[workspace.package]
|
|
|
|
authors = ["the Deno authors"]
|
|
|
|
edition = "2021"
|
|
|
|
license = "MIT"
|
|
|
|
repository = "https://github.com/denoland/deno"
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2023-07-01 15:02:00 -04:00
|
|
|
v8 = { version = "0.74.1", default-features = false }
|
2023-06-05 19:03:39 -04:00
|
|
|
deno_ast = { version = "0.27.0", features = ["transpiling"] }
|
2022-11-22 15:07:35 -05:00
|
|
|
|
2023-07-25 19:04:07 -04:00
|
|
|
deno_core = "0.197.0"
|
|
|
|
deno_ops = "0.75.0"
|
|
|
|
serde_v8 = "0.108.0"
|
2023-07-01 20:00:14 -04:00
|
|
|
|
2023-07-19 21:29:23 -04:00
|
|
|
deno_runtime = { version = "0.120.0", path = "./runtime" }
|
|
|
|
napi_sym = { version = "0.42.0", path = "./cli/napi/sym" }
|
|
|
|
deno_bench_util = { version = "0.106.0", path = "./bench_util" }
|
2022-11-22 15:07:35 -05:00
|
|
|
test_util = { path = "./test_util" }
|
2023-05-22 16:55:04 -04:00
|
|
|
deno_lockfile = "0.14.1"
|
2023-04-21 21:02:46 -04:00
|
|
|
deno_media_type = { version = "0.1.0", features = ["module_specifier"] }
|
2023-07-01 21:07:57 -04:00
|
|
|
deno_npm = "0.9.1"
|
2023-06-14 11:53:14 -04:00
|
|
|
deno_semver = "0.2.2"
|
2022-11-22 15:07:35 -05:00
|
|
|
|
|
|
|
# exts
|
2023-07-19 21:29:23 -04:00
|
|
|
deno_broadcast_channel = { version = "0.106.0", path = "./ext/broadcast_channel" }
|
|
|
|
deno_cache = { version = "0.44.0", path = "./ext/cache" }
|
|
|
|
deno_console = { version = "0.112.0", path = "./ext/console" }
|
|
|
|
deno_crypto = { version = "0.126.0", path = "./ext/crypto" }
|
|
|
|
deno_fetch = { version = "0.136.0", path = "./ext/fetch" }
|
|
|
|
deno_ffi = { version = "0.99.0", path = "./ext/ffi" }
|
|
|
|
deno_fs = { version = "0.22.0", path = "./ext/fs" }
|
|
|
|
deno_http = { version = "0.107.0", path = "./ext/http" }
|
|
|
|
deno_io = { version = "0.22.0", path = "./ext/io" }
|
|
|
|
deno_net = { version = "0.104.0", path = "./ext/net" }
|
|
|
|
deno_node = { version = "0.49.0", path = "./ext/node" }
|
|
|
|
deno_kv = { version = "0.20.0", path = "./ext/kv" }
|
|
|
|
deno_tls = { version = "0.99.0", path = "./ext/tls" }
|
|
|
|
deno_url = { version = "0.112.0", path = "./ext/url" }
|
|
|
|
deno_web = { version = "0.143.0", path = "./ext/web" }
|
|
|
|
deno_webidl = { version = "0.112.0", path = "./ext/webidl" }
|
|
|
|
deno_websocket = { version = "0.117.0", path = "./ext/websocket" }
|
|
|
|
deno_webstorage = { version = "0.107.0", path = "./ext/webstorage" }
|
|
|
|
deno_napi = { version = "0.42.0", path = "./ext/napi" }
|
2022-11-22 15:07:35 -05:00
|
|
|
|
2023-03-14 02:59:23 -04:00
|
|
|
aes = "=0.8.2"
|
2022-11-22 15:07:35 -05:00
|
|
|
anyhow = "1.0.57"
|
|
|
|
async-trait = "0.1.51"
|
|
|
|
atty = "=0.2.14"
|
|
|
|
base64 = "=0.13.1"
|
|
|
|
bencher = "0.1"
|
2023-06-24 10:12:08 -04:00
|
|
|
brotli = "3.3.4"
|
2023-03-13 08:26:46 -04:00
|
|
|
bytes = "1.4.0"
|
2022-11-22 15:07:35 -05:00
|
|
|
cache_control = "=0.2.0"
|
2023-03-14 02:59:23 -04:00
|
|
|
cbc = { version = "=0.1.2", features = ["alloc"] }
|
2023-03-28 17:49:00 -04:00
|
|
|
console_static_text = "=0.8.1"
|
2022-11-22 15:07:35 -05:00
|
|
|
data-url = "=0.2.0"
|
|
|
|
dlopen = "0.1.8"
|
|
|
|
encoding_rs = "=0.8.31"
|
2023-03-25 02:42:07 -04:00
|
|
|
ecb = "=0.1.1"
|
2023-04-29 13:09:18 -04:00
|
|
|
fastwebsockets = "=0.3.1"
|
2023-05-04 14:28:42 -04:00
|
|
|
filetime = "0.2.16"
|
2022-11-22 15:07:35 -05:00
|
|
|
flate2 = "=1.0.24"
|
2023-03-08 10:13:13 -05:00
|
|
|
fs3 = "0.5.0"
|
2022-11-22 15:07:35 -05:00
|
|
|
futures = "0.3.21"
|
2023-05-22 15:35:59 -04:00
|
|
|
glob = "0.3.1"
|
2023-03-22 00:13:24 -04:00
|
|
|
hex = "0.4"
|
2023-03-18 20:34:56 -04:00
|
|
|
http = "0.2.9"
|
2023-04-02 17:27:12 -04:00
|
|
|
httparse = "1.8.0"
|
2023-04-27 23:39:42 -04:00
|
|
|
hyper = { version = "0.14.26", features = ["runtime", "http1"] }
|
2023-02-23 19:20:54 -05:00
|
|
|
indexmap = { version = "1.9.2", features = ["serde"] }
|
2022-12-08 21:29:10 -05:00
|
|
|
libc = "0.2.126"
|
2023-07-14 10:33:32 -04:00
|
|
|
log = "=0.4.19"
|
2023-03-08 18:15:20 -05:00
|
|
|
lsp-types = "=0.93.2" # used by tower-lsp and "proposed" feature is unstable in patch releases
|
2023-04-02 17:27:12 -04:00
|
|
|
memmem = "0.1.1"
|
2022-11-22 15:07:35 -05:00
|
|
|
notify = "=5.0.0"
|
2023-03-28 06:56:38 -04:00
|
|
|
num-bigint = { version = "0.4", features = ["rand"] }
|
2023-03-08 10:49:13 -05:00
|
|
|
once_cell = "1.17.1"
|
2022-11-22 15:07:35 -05:00
|
|
|
os_pipe = "=1.0.1"
|
|
|
|
parking_lot = "0.12.0"
|
2023-07-14 10:33:32 -04:00
|
|
|
percent-encoding = "=2.3.0"
|
2022-11-22 15:07:35 -05:00
|
|
|
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 01:30:45 -05:00
|
|
|
regex = "^1.7.0"
|
2023-04-12 21:08:01 -04:00
|
|
|
lazy-regex = "2.5.0"
|
2023-05-16 20:19:23 -04:00
|
|
|
reqwest = { version = "0.11.18", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli", "socks"] }
|
2022-11-22 15:07:35 -05:00
|
|
|
ring = "=0.16.20"
|
2023-07-14 10:33:32 -04:00
|
|
|
rusqlite = { version = "=0.29.0", features = ["unlock_notify", "bundled"] }
|
2023-05-16 20:19:23 -04:00
|
|
|
rustls = "0.21.0"
|
2022-11-22 15:07:35 -05:00
|
|
|
rustls-pemfile = "1.0.0"
|
2023-02-01 09:40:35 -05:00
|
|
|
serde = { version = "1.0.149", features = ["derive"] }
|
2022-11-22 15:07:35 -05:00
|
|
|
serde_bytes = "0.11"
|
2023-02-01 09:40:35 -05:00
|
|
|
serde_json = "1.0.85"
|
2022-11-22 15:07:35 -05:00
|
|
|
serde_repr = "=0.1.9"
|
2023-01-18 10:18:41 -05:00
|
|
|
sha2 = { version = "0.10.6", features = ["oid"] }
|
2023-03-28 08:46:48 -04:00
|
|
|
signature = "=1.6.4"
|
2023-04-22 13:48:21 -04:00
|
|
|
slab = "0.4"
|
2022-11-22 15:07:35 -05:00
|
|
|
smallvec = "1.8"
|
|
|
|
socket2 = "0.4.7"
|
|
|
|
tar = "=0.4.38"
|
2023-03-22 14:55:19 -04:00
|
|
|
tempfile = "3.4.0"
|
2023-05-11 10:14:51 -04:00
|
|
|
thiserror = "1.0.40"
|
2023-05-11 08:52:56 -04:00
|
|
|
tokio = { version = "1.28.1", features = ["full"] }
|
2023-06-09 07:52:51 -04:00
|
|
|
tokio-metrics = { version = "0.2.2", features = ["rt"] }
|
2023-05-16 20:19:23 -04:00
|
|
|
tokio-rustls = "0.24.0"
|
2023-02-26 14:39:06 -05:00
|
|
|
tokio-util = "0.7.4"
|
2023-03-08 18:15:20 -05:00
|
|
|
tower-lsp = { version = "=0.17.0", features = ["proposed"] }
|
2022-11-22 15:07:35 -05:00
|
|
|
url = { version = "2.3.1", features = ["serde", "expose_internals"] }
|
2023-02-26 14:53:52 -05:00
|
|
|
uuid = { version = "1.3.0", features = ["v4"] }
|
2023-03-21 15:11:22 -04:00
|
|
|
zstd = "=0.11.2"
|
2023-04-27 12:31:35 -04:00
|
|
|
elliptic-curve = { version = "0.13.4", features = ["alloc", "arithmetic", "ecdh", "std", "pem"] }
|
|
|
|
p224 = { version = "0.13.0", features = ["ecdh"] }
|
|
|
|
p256 = { version = "0.13.2", features = ["ecdh"] }
|
|
|
|
p384 = { version = "0.13.0", features = ["ecdh"] }
|
2022-11-22 15:07:35 -05:00
|
|
|
|
2023-02-20 11:52:28 -05:00
|
|
|
# crypto
|
2023-03-28 08:46:48 -04:00
|
|
|
rsa = { version = "0.7.0", default-features = false, features = ["std", "pem", "hazmat"] } # hazmat needed for PrehashSigner in ext/node
|
2023-04-06 12:56:56 -04:00
|
|
|
hkdf = "0.12.3"
|
2023-02-20 11:52:28 -05:00
|
|
|
|
2022-11-22 15:07:35 -05:00
|
|
|
# macros
|
|
|
|
proc-macro2 = "1"
|
|
|
|
quote = "1"
|
|
|
|
syn = { version = "1", features = ["full", "extra-traits"] }
|
2023-07-25 19:04:07 -04:00
|
|
|
syn2 = { package = "syn", version = "2.0", features = ["full", "extra-traits"] }
|
2023-06-24 07:54:10 -04:00
|
|
|
# Temporary fork while we wait for a more modern version to be published
|
|
|
|
deno-proc-macro-rules = "0.3.2"
|
2022-11-22 15:07:35 -05:00
|
|
|
|
|
|
|
# unix
|
|
|
|
nix = "=0.24.2"
|
|
|
|
|
|
|
|
# windows deps
|
|
|
|
fwdansi = "=1.1.0"
|
|
|
|
winres = "=0.1.12"
|
|
|
|
winapi = "=0.3.9"
|
2023-05-17 15:59:55 -04:00
|
|
|
windows-sys = { version = "0.48.0", features = ["Win32_Media"] }
|
2022-11-22 15:07:35 -05:00
|
|
|
|
2021-05-11 18:06:58 -04:00
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
2021-04-09 14:03:32 -04:00
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
2021-04-10 02:46:27 -04:00
|
|
|
incremental = true
|
2021-04-09 14:03:32 -04:00
|
|
|
lto = true
|
2022-09-27 08:55:02 -04:00
|
|
|
opt-level = 'z' # Optimize for size
|
2021-04-09 14:03:32 -04:00
|
|
|
|
2023-02-09 22:00:23 -05:00
|
|
|
# Build release with debug symbols: cargo build --profile=release-with-debug
|
|
|
|
[profile.release-with-debug]
|
|
|
|
inherits = "release"
|
|
|
|
debug = true
|
|
|
|
|
2021-05-11 18:06:58 -04:00
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
2021-04-09 14:03:32 -04:00
|
|
|
[profile.bench]
|
|
|
|
codegen-units = 1
|
2021-04-10 02:46:27 -04:00
|
|
|
incremental = true
|
2021-04-09 14:03:32 -04:00
|
|
|
lto = true
|
2022-09-27 08:55:02 -04:00
|
|
|
opt-level = 'z' # Optimize for size
|
2021-04-09 14:03:32 -04:00
|
|
|
|
2021-08-13 04:08:13 -04:00
|
|
|
# Key generation is too slow on `debug`
|
|
|
|
[profile.dev.package.num-bigint-dig]
|
|
|
|
opt-level = 3
|
|
|
|
|
2021-05-11 18:06:58 -04: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 19:19:53 -04:00
|
|
|
[profile.bench.package.deno_bench_util]
|
|
|
|
opt-level = 3
|
2021-05-11 18:06:58 -04:00
|
|
|
[profile.bench.package.deno_core]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.deno_runtime]
|
|
|
|
opt-level = 3
|
2021-07-12 06:44:49 -04:00
|
|
|
[profile.bench.package.deno_http]
|
|
|
|
opt-level = 3
|
2022-03-13 19:19:53 -04: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 19:23:18 -04:00
|
|
|
[profile.bench.package.deno_net]
|
|
|
|
opt-level = 3
|
2022-03-13 19:19:53 -04:00
|
|
|
[profile.bench.package.deno_crypto]
|
|
|
|
opt-level = 3
|
2023-03-05 09:53:42 -05:00
|
|
|
[profile.bench.package.deno_node]
|
|
|
|
opt-level = 3
|
2021-08-13 04:08:13 -04:00
|
|
|
[profile.bench.package.num-bigint-dig]
|
|
|
|
opt-level = 3
|
2021-10-27 17:26:15 -04:00
|
|
|
[profile.bench.package.v8]
|
2021-05-11 18:06:58 -04:00
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.serde_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.serde]
|
|
|
|
opt-level = 3
|
2021-08-19 13:11:27 -04:00
|
|
|
[profile.bench.package.deno_url]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.url]
|
|
|
|
opt-level = 3
|
2021-11-04 10:44:57 -04: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
|
2023-03-21 15:11:22 -04:00
|
|
|
[profile.bench.package.zstd]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.bench.package.zstd-sys]
|
|
|
|
opt-level = 3
|
2022-06-29 11:42:39 -04:00
|
|
|
[profile.bench.package.base64-simd]
|
|
|
|
opt-level = 3
|
2021-05-11 18:06:58 -04:00
|
|
|
|
|
|
|
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
|
2021-02-18 09:46:31 -05: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-25 22:36:46 -04:00
|
|
|
opt-level = 3
|
2022-03-13 19:19:53 -04:00
|
|
|
[profile.release.package.deno_bench_util]
|
|
|
|
opt-level = 3
|
2021-04-06 13:38:49 -04:00
|
|
|
[profile.release.package.deno_core]
|
|
|
|
opt-level = 3
|
2021-04-11 08:10:22 -04:00
|
|
|
[profile.release.package.deno_runtime]
|
|
|
|
opt-level = 3
|
2021-07-12 06:44:49 -04:00
|
|
|
[profile.release.package.deno_http]
|
|
|
|
opt-level = 3
|
2021-07-05 19:23:18 -04:00
|
|
|
[profile.release.package.deno_net]
|
|
|
|
opt-level = 3
|
2022-03-13 19:19:53 -04:00
|
|
|
[profile.release.package.deno_web]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.deno_crypto]
|
|
|
|
opt-level = 3
|
2023-03-05 09:53:42 -05:00
|
|
|
[profile.release.package.deno_node]
|
|
|
|
opt-level = 3
|
2022-03-13 19:19:53 -04: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 10:06:44 -04:00
|
|
|
[profile.release.package.deno_napi]
|
|
|
|
opt-level = 3
|
2022-10-07 06:54:01 -04:00
|
|
|
[profile.release.package.test_napi]
|
|
|
|
opt-level = 3
|
2021-08-13 04:08:13 -04:00
|
|
|
[profile.release.package.num-bigint-dig]
|
|
|
|
opt-level = 3
|
2021-10-27 17:26:15 -04:00
|
|
|
[profile.release.package.v8]
|
2021-04-06 13:38:49 -04:00
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.serde_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.serde]
|
|
|
|
opt-level = 3
|
2021-08-19 13:11:27 -04:00
|
|
|
[profile.release.package.deno_url]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.url]
|
|
|
|
opt-level = 3
|
2021-11-04 10:44:57 -04: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
|
2023-03-21 15:11:22 -04:00
|
|
|
[profile.release.package.zstd]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.zstd-sys]
|
|
|
|
opt-level = 3
|
2022-06-29 11:42:39 -04:00
|
|
|
[profile.release.package.base64-simd]
|
|
|
|
opt-level = 3
|