2024-01-01 14:58:21 -05:00
# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2020-09-21 21:26:41 +09:00
2019-02-26 16:23:30 -08:00
[ workspace ]
2021-08-24 13:29:42 +02:00
resolver = "2"
2019-02-26 16:23:30 -08:00
members = [
2021-05-17 23:11:40 +02:00
"bench_util" ,
2019-03-30 14:45:36 -04:00
"cli" ,
2022-11-28 17:28:54 -05:00
"cli/napi/sym" ,
2021-08-11 12:27:05 +02:00
"ext/broadcast_channel" ,
2022-09-28 17:41:12 +05:30
"ext/cache" ,
2024-01-22 12:08:01 +01:00
"ext/canvas" ,
2021-08-11 12:27:05 +02:00
"ext/console" ,
2023-11-01 11:57:55 -07:00
"ext/cron" ,
2021-08-11 12:27:05 +02:00
"ext/crypto" ,
"ext/fetch" ,
"ext/ffi" ,
2023-03-07 05:13:44 -04:00
"ext/fs" ,
2021-08-11 12:27:05 +02:00
"ext/http" ,
2023-03-04 20:39:48 -04:00
"ext/io" ,
2023-03-22 12:13:24 +08:00
"ext/kv" ,
2024-01-25 12:31:21 -05:00
"ext/napi" ,
2021-08-11 12:27:05 +02:00
"ext/net" ,
2022-08-11 17:25:41 -04:00
"ext/node" ,
2021-08-11 12:27:05 +02:00
"ext/url" ,
"ext/web" ,
2023-12-09 01:19:16 +01:00
"ext/webgpu" ,
2021-08-11 12:27:05 +02:00
"ext/webidl" ,
"ext/websocket" ,
"ext/webstorage" ,
2024-01-25 12:31:21 -05:00
"runtime" ,
"test_ffi" ,
"test_napi" ,
"test_util" ,
2019-02-26 16:23:30 -08:00
]
2021-05-17 23:11:40 +02:00
exclude = [ "test_util/std/hash/_wasm" ]
2021-04-09 14:03:32 -04:00
2022-11-22 21:07:35 +01:00
[ workspace . package ]
authors = [ "the Deno authors" ]
edition = "2021"
license = "MIT"
repository = "https://github.com/denoland/deno"
[ workspace . dependencies ]
2024-01-23 11:25:44 +01:00
deno_ast = { version = "0.32.0" , features = [ "transpiling" ] }
2024-01-27 12:27:41 +05:30
deno_core = { version = "0.256.0" }
2023-07-01 18:00:14 -06:00
2024-01-26 19:59:16 +01:00
deno_bench_util = { version = "0.129.0" , path = "./bench_util" }
2024-01-22 16:31:12 -05:00
deno_lockfile = "0.18.0"
2023-08-06 12:25:48 -04:00
deno_media_type = { version = "0.1.1" , features = [ "module_specifier" ] }
2024-01-26 19:59:16 +01:00
deno_runtime = { version = "0.143.0" , path = "./runtime" }
napi_sym = { version = "0.65.0" , path = "./cli/napi/sym" }
2024-01-25 12:31:21 -05:00
test_util = { path = "./test_util" }
2022-11-22 21:07:35 +01:00
2023-12-05 14:21:46 +01:00
denokv_proto = "0.5.0"
2024-01-25 12:31:21 -05:00
denokv_remote = "0.5.0"
2023-11-10 11:15:09 -07:00
# denokv_sqlite brings in bundled sqlite if we don't disable the default features
2023-12-05 14:21:46 +01:00
denokv_sqlite = { default-features = false , version = "0.5.0" }
2023-10-31 12:13:57 +01:00
2022-11-22 21:07:35 +01:00
# exts
2024-01-26 19:59:16 +01:00
deno_broadcast_channel = { version = "0.129.0" , path = "./ext/broadcast_channel" }
deno_cache = { version = "0.67.0" , path = "./ext/cache" }
deno_canvas = { version = "0.4.0" , path = "./ext/canvas" }
deno_console = { version = "0.135.0" , path = "./ext/console" }
deno_cron = { version = "0.15.0" , path = "./ext/cron" }
deno_crypto = { version = "0.149.0" , path = "./ext/crypto" }
deno_fetch = { version = "0.159.0" , path = "./ext/fetch" }
deno_ffi = { version = "0.122.0" , path = "./ext/ffi" }
deno_fs = { version = "0.45.0" , path = "./ext/fs" }
deno_http = { version = "0.132.0" , path = "./ext/http" }
deno_io = { version = "0.45.0" , path = "./ext/io" }
deno_kv = { version = "0.43.0" , path = "./ext/kv" }
deno_napi = { version = "0.65.0" , path = "./ext/napi" }
deno_net = { version = "0.127.0" , path = "./ext/net" }
deno_node = { version = "0.72.0" , path = "./ext/node" }
deno_tls = { version = "0.122.0" , path = "./ext/tls" }
deno_url = { version = "0.135.0" , path = "./ext/url" }
deno_web = { version = "0.166.0" , path = "./ext/web" }
deno_webgpu = { version = "0.102.0" , path = "./ext/webgpu" }
deno_webidl = { version = "0.135.0" , path = "./ext/webidl" }
deno_websocket = { version = "0.140.0" , path = "./ext/websocket" }
deno_webstorage = { version = "0.130.0" , path = "./ext/webstorage" }
2022-11-22 21:07:35 +01:00
2023-08-26 07:10:42 -06:00
aes = "=0.8.3"
2022-11-22 21:07:35 +01:00
anyhow = "1.0.57"
2023-08-26 07:10:42 -06:00
async-trait = "0.1.73"
2023-10-26 18:39:04 +02:00
base64 = "0.21.4"
2022-11-22 21:07:35 +01:00
bencher = "0.1"
2023-06-24 16:12:08 +02:00
brotli = "3.3.4"
2023-03-13 05:26:46 -07:00
bytes = "1.4.0"
2022-11-22 21:07:35 +01:00
cache_control = "=0.2.0"
2023-03-14 15:59:23 +09:00
cbc = { version = "=0.1.2" , features = [ "alloc" ] }
2023-10-30 08:45:45 -07:00
# Note: Do not use the "clock" feature of chrono, as it links us to CoreFoundation on macOS.
# Instead use util::time::utc_now()
chrono = { version = "0.4" , default-features = false , features = [ "std" , "serde" ] }
2023-03-28 17:49:00 -04:00
console_static_text = "=0.8.1"
2023-09-16 02:42:09 +02:00
data-encoding = "2.3.3"
2024-01-25 12:31:21 -05:00
data-url = "=0.3.0"
2023-11-05 01:29:26 -08:00
dlopen2 = "0.6.1"
2023-08-26 07:10:42 -06:00
ecb = "=0.1.2"
2024-01-25 12:31:21 -05:00
elliptic-curve = { version = "0.13.4" , features = [ "alloc" , "arithmetic" , "ecdh" , "std" , "pem" ] }
encoding_rs = "=0.8.33"
2023-12-26 21:53:28 +01:00
fastwebsockets = { version = "0.6" , features = [ "upgrade" , "unstable-split" ] }
2023-05-04 14:28:42 -04:00
filetime = "0.2.16"
2023-11-11 07:20:12 -07:00
flate2 = { version = "1.0.26" , default-features = false }
2023-03-08 10:13:13 -05:00
fs3 = "0.5.0"
2022-11-22 21:07:35 +01:00
futures = "0.3.21"
2023-05-22 13:35:59 -06:00
glob = "0.3.1"
2024-01-25 12:31:21 -05:00
h2 = "0.4"
2023-03-22 12:13:24 +08:00
hex = "0.4"
2023-12-27 17:59:57 +01:00
http = "1.0"
2024-01-25 12:31:21 -05:00
http-body-util = "0.1"
http_v02 = { package = "http" , version = "0.2.9" }
2023-04-02 15:27:12 -06:00
httparse = "1.8.0"
2024-01-25 12:31:21 -05:00
hyper = { version = "=1.1.0" , features = [ "full" ] }
2023-12-24 14:14:29 +01:00
hyper-util = { version = "=0.1.2" , features = [ "tokio" , "server" , "server-auto" ] }
2023-12-27 17:59:57 +01:00
hyper_v014 = { package = "hyper" , version = "0.14.26" , features = [ "runtime" , "http1" ] }
2023-08-26 07:10:42 -06:00
indexmap = { version = "2" , features = [ "serde" ] }
2024-01-25 12:31:21 -05:00
lazy-regex = "3"
2022-12-09 02:29:10 +00:00
libc = "0.2.126"
2023-11-11 07:20:12 -07:00
libz-sys = { version = "1.1" , default-features = false }
2023-08-24 11:21:34 +02:00
log = "=0.4.20"
2023-09-26 21:57:14 +01:00
lsp-types = "=0.94.1" # used by tower-lsp and "proposed" feature is unstable in patch releases
2023-04-02 15:27:12 -06:00
memmem = "0.1.1"
2024-01-21 17:19:10 -05:00
monch = "=0.5.0"
2023-11-01 08:54:27 -07:00
notify = "=5.0.0"
2023-03-28 16:26:38 +05:30
num-bigint = { version = "0.4" , features = [ "rand" ] }
2023-03-08 16:49:13 +01:00
once_cell = "1.17.1"
2023-08-26 07:10:42 -06:00
os_pipe = "=1.1.4"
2024-01-25 12:31:21 -05:00
p224 = { version = "0.13.0" , features = [ "ecdh" ] }
p256 = { version = "0.13.2" , features = [ "ecdh" ] }
p384 = { version = "0.13.0" , features = [ "ecdh" ] }
2022-11-22 21:07:35 +01:00
parking_lot = "0.12.0"
2023-07-14 10:33:32 -04:00
percent-encoding = "=2.3.0"
2022-11-22 21:07:35 +01:00
pin-project = "1.0.11" # don't pin because they yank crates from cargo
2023-08-24 11:21:34 +02:00
pretty_assertions = "=1.4.0"
2023-08-22 13:56:00 +08:00
prost = "0.11"
prost-build = "0.11"
2022-11-22 21:07:35 +01:00
rand = "=0.8.5"
2023-02-27 01:30:45 -05:00
regex = "^1.7.0"
2023-12-08 15:55:11 +01:00
reqwest = { version = "=0.11.20" , default-features = false , features = [ "rustls-tls" , "stream" , "gzip" , "brotli" , "socks" , "json" ] } # pinned because of https://github.com/seanmonstar/reqwest/pull/1955
2023-10-27 14:15:09 -07:00
ring = "^0.17.0"
2023-07-14 10:33:32 -04:00
rusqlite = { version = "=0.29.0" , features = [ "unlock_notify" , "bundled" ] }
2024-01-25 04:47:45 +01:00
rustls = "0.21.8"
2022-11-22 21:07:35 +01:00
rustls-pemfile = "1.0.0"
2024-01-25 04:47:45 +01:00
rustls-tokio-stream = "=0.2.17"
2023-08-25 15:40:25 -06:00
rustls-webpki = "0.101.4"
2024-01-12 02:35:55 +05:30
rustyline = "=13.0.0"
2023-11-01 11:57:55 -07:00
saffron = "=0.1.0"
2024-01-25 12:31:21 -05:00
scopeguard = "1.2.0"
2023-02-01 23:40:35 +09:00
serde = { version = "1.0.149" , features = [ "derive" ] }
2022-11-22 21:07:35 +01:00
serde_bytes = "0.11"
2023-02-01 23:40:35 +09:00
serde_json = "1.0.85"
2023-08-26 07:10:42 -06:00
serde_repr = "=0.1.16"
2023-11-04 09:59:25 +05:30
sha2 = { version = "0.10.8" , features = [ "oid" ] }
2023-11-09 07:15:46 -08:00
signature = "2.1"
2023-04-22 11:48:21 -06:00
slab = "0.4"
2022-11-22 21:07:35 +01:00
smallvec = "1.8"
2023-08-26 07:10:42 -06:00
socket2 = { version = "0.5.3" , features = [ "all" ] }
tar = "=0.4.40"
2023-03-22 12:55:19 -06:00
tempfile = "3.4.0"
2023-09-03 17:47:52 -07:00
termcolor = "1.1.3"
2023-05-11 16:14:51 +02:00
thiserror = "1.0.40"
2023-05-11 15:52:56 +03:00
tokio = { version = "1.28.1" , features = [ "full" ] }
2023-08-26 07:10:42 -06:00
tokio-metrics = { version = "0.3.0" , features = [ "rt" ] }
2023-02-27 04:39:06 +09:00
tokio-util = "0.7.4"
2023-09-26 21:57:14 +01:00
tower-lsp = { version = "=0.20.0" , features = [ "proposed" ] }
2022-11-22 21:07:35 +01:00
url = { version = "2.3.1" , features = [ "serde" , "expose_internals" ] }
2023-02-26 13:53:52 -06:00
uuid = { version = "1.3.0" , features = [ "v4" ] }
2024-01-25 12:31:21 -05:00
webpki-roots = "0.25.2"
2023-08-26 07:10:42 -06:00
zstd = "=0.12.4"
2022-11-22 21:07:35 +01:00
2023-02-20 22:22:28 +05:30
# crypto
2023-04-06 22:26:56 +05:30
hkdf = "0.12.3"
2024-01-25 12:31:21 -05:00
rsa = { version = "0.9.3" , default-features = false , features = [ "std" , "pem" , "hazmat" ] } # hazmat needed for PrehashSigner in ext/node
2023-02-20 22:22:28 +05:30
2023-12-09 01:19:16 +01:00
# webgpu
raw-window-handle = "0.5.0"
2024-01-05 19:55:01 +05:30
wgpu-core = { version = "=0.18" , features = [ "raw-window-handle" ] }
2023-12-09 01:19:16 +01:00
wgpu-hal = "=0.18"
2024-01-25 12:31:21 -05:00
wgpu-types = "=0.18"
2023-12-09 01:19:16 +01:00
2022-11-22 21:07:35 +01:00
# macros
proc-macro2 = "1"
quote = "1"
2023-08-26 07:10:42 -06:00
syn = { version = "2" , features = [ "full" , "extra-traits" ] }
2022-11-22 21:07:35 +01:00
# unix
2023-08-26 07:10:42 -06:00
nix = "=0.26.2"
2022-11-22 21:07:35 +01:00
# windows deps
fwdansi = "=1.1.0"
winapi = "=0.3.9"
2023-05-17 13:59:55 -06:00
windows-sys = { version = "0.48.0" , features = [ "Win32_Media" ] }
2024-01-25 12:31:21 -05:00
winres = "=0.1.12"
2022-11-22 21:07:35 +01:00
2021-05-11 22:06:58 +00: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 08:46:27 +02:00
incremental = true
2021-04-09 14:03:32 -04:00
lto = true
2022-09-27 14:55:02 +02: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 22:06:58 +00: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 08:46:27 +02:00
incremental = true
2021-04-09 14:03:32 -04:00
lto = true
2022-09-27 14:55:02 +02:00
opt-level = 'z' # Optimize for size
2021-04-09 14:03:32 -04:00
2021-08-13 13:38:13 +05:30
# 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-14 00:19:53 +01: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 12:44:49 +02:00
[ profile . bench . package . deno_http ]
opt-level = 3
2022-03-14 00:19:53 +01: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-06 01:23:18 +02:00
[ profile . bench . package . deno_net ]
opt-level = 3
2022-03-14 00:19:53 +01:00
[ profile . bench . package . deno_crypto ]
opt-level = 3
2023-03-05 20:23:42 +05:30
[ profile . bench . package . deno_node ]
opt-level = 3
2021-08-13 13:38:13 +05:30
[ profile . bench . package . num-bigint-dig ]
opt-level = 3
2021-10-27 23:26:15 +02: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 19:11:27 +02:00
[ profile . bench . package . deno_url ]
opt-level = 3
[ profile . bench . package . url ]
opt-level = 3
2021-11-04 07:44:57 -07:00
[ profile . bench . package . bytes ]
opt-level = 3
[ profile . bench . package . futures-util ]
opt-level = 3
2023-12-26 21:53:28 +01:00
[ profile . bench . package . fastwebsockets ]
opt-level = 3
2021-11-04 07:44:57 -07:00
[ profile . bench . package . hyper ]
opt-level = 3
[ profile . bench . package . tokio ]
opt-level = 3
2023-03-21 20:11:22 +01:00
[ profile . bench . package . zstd ]
opt-level = 3
[ profile . bench . package . zstd-sys ]
opt-level = 3
2022-06-29 23:42:39 +08: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 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-26 03:36:46 +01:00
opt-level = 3
2022-03-14 00:19:53 +01:00
[ profile . release . package . deno_bench_util ]
opt-level = 3
2021-04-06 19:38:49 +02:00
[ profile . release . package . deno_core ]
opt-level = 3
2021-04-11 14:10:22 +02:00
[ profile . release . package . deno_runtime ]
opt-level = 3
2021-07-12 12:44:49 +02:00
[ profile . release . package . deno_http ]
opt-level = 3
2021-07-06 01:23:18 +02:00
[ profile . release . package . deno_net ]
opt-level = 3
2022-03-14 00:19:53 +01:00
[ profile . release . package . deno_web ]
opt-level = 3
[ profile . release . package . deno_crypto ]
opt-level = 3
2023-03-05 20:23:42 +05:30
[ profile . release . package . deno_node ]
opt-level = 3
2022-03-14 00:19:53 +01: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 07:06:44 -07:00
[ profile . release . package . deno_napi ]
opt-level = 3
2022-10-07 03:54:01 -07:00
[ profile . release . package . test_napi ]
opt-level = 3
2021-08-13 13:38:13 +05:30
[ profile . release . package . num-bigint-dig ]
opt-level = 3
2021-10-27 23:26:15 +02:00
[ profile . release . package . v8 ]
2021-04-06 19:38:49 +02:00
opt-level = 3
[ profile . release . package . serde_v8 ]
opt-level = 3
[ profile . release . package . serde ]
opt-level = 3
2021-08-19 19:11:27 +02:00
[ profile . release . package . deno_url ]
opt-level = 3
[ profile . release . package . url ]
opt-level = 3
2021-11-04 07:44:57 -07: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 20:11:22 +01:00
[ profile . release . package . zstd ]
opt-level = 3
[ profile . release . package . zstd-sys ]
opt-level = 3
2022-06-29 23:42:39 +08:00
[ profile . release . package . base64-simd ]
opt-level = 3