2024-01-01 19:58:21 +00:00
|
|
|
# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2019-03-30 18:45:36 +00:00
|
|
|
|
|
|
|
[package]
|
2020-01-05 16:56:18 +00:00
|
|
|
name = "deno"
|
2024-11-21 02:05:02 +00:00
|
|
|
version = "2.1.0"
|
2022-11-22 20:07:35 +00:00
|
|
|
authors.workspace = true
|
2021-08-02 14:19:27 +00:00
|
|
|
default-run = "deno"
|
2022-11-22 20:07:35 +00:00
|
|
|
edition.workspace = true
|
2024-04-25 11:46:36 +00:00
|
|
|
exclude = ["bench/testdata/lsp_benchdata/"]
|
2022-11-22 20:07:35 +00:00
|
|
|
license.workspace = true
|
|
|
|
repository.workspace = true
|
2021-08-02 14:19:27 +00:00
|
|
|
description = "Provides the deno executable"
|
2019-03-30 18:45:36 +00:00
|
|
|
|
2019-09-17 01:05:14 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "deno"
|
|
|
|
path = "main.rs"
|
2023-01-04 12:19:58 +00:00
|
|
|
doc = false
|
2019-09-17 01:05:14 +00:00
|
|
|
|
2024-02-13 16:22:30 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "denort"
|
|
|
|
path = "mainrt.rs"
|
|
|
|
doc = false
|
|
|
|
|
2024-02-09 20:33:05 +00:00
|
|
|
[[test]]
|
|
|
|
name = "integration"
|
2024-02-13 00:13:14 +00:00
|
|
|
path = "integration_tests_runner.rs"
|
2024-02-09 20:33:05 +00:00
|
|
|
harness = false
|
|
|
|
|
2020-08-28 13:03:50 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "deno_bench"
|
|
|
|
harness = false
|
|
|
|
path = "./bench/main.rs"
|
|
|
|
|
2022-01-18 11:58:50 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "lsp_bench_standalone"
|
|
|
|
harness = false
|
|
|
|
path = "./bench/lsp_bench_standalone.rs"
|
|
|
|
|
2023-08-05 23:47:15 +00:00
|
|
|
[features]
|
2023-11-29 18:52:25 +00:00
|
|
|
default = ["upgrade", "__vendored_zlib_ng"]
|
2024-10-16 14:03:42 +00:00
|
|
|
# A feature that enables heap profiling with dhat on Linux.
|
|
|
|
# 1. Compile with `cargo build --profile=release-with-debug --features=dhat-heap`
|
|
|
|
# 2. Run the executable. It will output a dhat-heap.json file.
|
|
|
|
# 3. Open the json file in https://nnethercote.github.io/dh_view/dh_view.html
|
|
|
|
dhat-heap = ["dhat"]
|
2023-11-29 18:52:25 +00:00
|
|
|
# A feature that enables the upgrade subcommand and the background check for
|
|
|
|
# available updates (of deno binary). This is typically disabled for (Linux)
|
|
|
|
# distribution packages.
|
|
|
|
upgrade = []
|
2023-08-05 23:47:15 +00:00
|
|
|
# A dev feature to disable creations and loading of snapshots in favor of
|
|
|
|
# loading JS sources at runtime.
|
2024-07-05 12:17:53 +00:00
|
|
|
hmr = ["deno_runtime/hmr"]
|
2023-11-11 14:20:12 +00:00
|
|
|
# Vendor zlib as zlib-ng
|
|
|
|
__vendored_zlib_ng = ["flate2/zlib-ng-compat", "libz-sys/zlib-ng"]
|
2023-08-05 23:47:15 +00:00
|
|
|
|
2019-10-05 00:28:51 +00:00
|
|
|
[build-dependencies]
|
2024-01-22 12:37:25 +00:00
|
|
|
deno_runtime = { workspace = true, features = ["include_js_files_for_snapshotting", "only_snapshotted_js_sources"] }
|
2023-06-26 11:54:10 +00:00
|
|
|
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
|
2023-04-13 01:08:01 +00:00
|
|
|
lazy-regex.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
serde.workspace = true
|
|
|
|
serde_json.workspace = true
|
2023-03-21 19:11:22 +00:00
|
|
|
zstd.workspace = true
|
2022-10-15 15:21:04 +00:00
|
|
|
glibc_version = "0.1.2"
|
2023-11-11 14:20:12 +00:00
|
|
|
flate2 = { workspace = true, features = ["default"] }
|
2019-10-05 00:28:51 +00:00
|
|
|
|
2020-07-15 19:54:38 +00:00
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
2022-11-22 20:07:35 +00:00
|
|
|
winapi.workspace = true
|
|
|
|
winres.workspace = true
|
2020-07-15 19:54:38 +00:00
|
|
|
|
2019-03-30 18:45:36 +00:00
|
|
|
[dependencies]
|
2024-02-09 01:40:26 +00:00
|
|
|
deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "proposal", "react", "sourcemap", "transforms", "typescript", "view", "visit"] }
|
2024-11-14 20:24:25 +00:00
|
|
|
deno_cache_dir.workspace = true
|
|
|
|
deno_config.workspace = true
|
2023-06-26 11:54:10 +00:00
|
|
|
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
|
2024-11-19 16:56:04 +00:00
|
|
|
deno_doc = { version = "0.160.0", features = ["rust", "comrak"] }
|
|
|
|
deno_graph = { version = "=0.85.0" }
|
2024-11-01 16:27:00 +00:00
|
|
|
deno_lint = { version = "=0.68.0", features = ["docs"] }
|
2023-01-23 22:41:02 +00:00
|
|
|
deno_lockfile.workspace = true
|
2024-09-28 23:17:48 +00:00
|
|
|
deno_npm.workspace = true
|
2024-07-23 21:34:46 +00:00
|
|
|
deno_package_json.workspace = true
|
2024-09-28 11:55:01 +00:00
|
|
|
deno_path_util.workspace = true
|
2024-09-28 23:17:48 +00:00
|
|
|
deno_resolver.workspace = true
|
2024-01-10 15:30:50 +00:00
|
|
|
deno_runtime = { workspace = true, features = ["include_js_files_for_snapshotting"] }
|
2024-08-28 18:17:47 +00:00
|
|
|
deno_semver.workspace = true
|
2024-10-03 13:07:12 +00:00
|
|
|
deno_task_shell = "=0.18.1"
|
2024-02-07 16:25:14 +00:00
|
|
|
deno_terminal.workspace = true
|
2024-11-05 07:40:23 +00:00
|
|
|
libsui = "0.5.0"
|
2024-07-25 23:08:14 +00:00
|
|
|
node_resolver.workspace = true
|
2019-03-30 18:45:36 +00:00
|
|
|
|
2024-08-21 13:54:59 +00:00
|
|
|
anstream = "0.6.14"
|
2023-02-21 17:03:48 +00:00
|
|
|
async-trait.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
base64.workspace = true
|
2023-07-10 17:42:47 +00:00
|
|
|
bincode = "=1.3.3"
|
2023-09-16 00:42:09 +00:00
|
|
|
bytes.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
cache_control.workspace = true
|
2024-05-23 11:59:11 +00:00
|
|
|
chrono = { workspace = true, features = ["now"] }
|
2024-09-03 19:40:50 +00:00
|
|
|
clap = { version = "=4.5.16", features = ["env", "string", "wrap_help", "error-context"] }
|
|
|
|
clap_complete = "=4.5.24"
|
2024-08-12 15:55:33 +00:00
|
|
|
clap_complete_fig = "=4.5.2"
|
2024-10-15 21:51:39 +00:00
|
|
|
color-print.workspace = true
|
2023-03-10 00:09:14 +00:00
|
|
|
console_static_text.workspace = true
|
2024-09-28 23:17:48 +00:00
|
|
|
dashmap.workspace = true
|
2023-09-16 00:42:09 +00:00
|
|
|
data-encoding.workspace = true
|
2024-10-16 14:03:42 +00:00
|
|
|
dhat = { version = "0.3.3", optional = true }
|
2022-09-16 23:11:30 +00:00
|
|
|
dissimilar = "=1.0.4"
|
2023-11-01 15:21:13 +00:00
|
|
|
dotenvy = "0.15.7"
|
2024-10-21 18:17:08 +00:00
|
|
|
dprint-plugin-json = "=0.19.4"
|
|
|
|
dprint-plugin-jupyter = "=0.1.5"
|
2024-08-26 18:36:24 +00:00
|
|
|
dprint-plugin-markdown = "=0.17.8"
|
2024-11-04 20:40:05 +00:00
|
|
|
dprint-plugin-typescript = "=0.93.2"
|
2023-08-25 17:40:21 +00:00
|
|
|
env_logger = "=0.10.0"
|
2022-08-09 21:27:22 +00:00
|
|
|
fancy-regex = "=0.10.0"
|
2024-03-07 17:00:43 +00:00
|
|
|
faster-hex.workspace = true
|
2023-11-11 14:20:12 +00:00
|
|
|
# If you disable the default __vendored_zlib_ng feature above, you _must_ be able to link against `-lz`.
|
2022-11-22 20:07:35 +00:00
|
|
|
flate2.workspace = true
|
2023-03-08 15:13:13 +00:00
|
|
|
fs3.workspace = true
|
2023-05-23 01:39:59 +00:00
|
|
|
glob = "0.3.1"
|
2024-07-17 23:37:31 +00:00
|
|
|
http.workspace = true
|
|
|
|
http-body.workspace = true
|
|
|
|
http-body-util.workspace = true
|
|
|
|
hyper-util.workspace = true
|
2024-08-28 18:17:47 +00:00
|
|
|
import_map = { version = "=0.20.1", features = ["ext"] }
|
2023-02-23 03:45:35 +00:00
|
|
|
indexmap.workspace = true
|
2024-10-21 18:17:08 +00:00
|
|
|
jsonc-parser = { workspace = true, features = ["cst", "serde"] }
|
2024-11-14 10:43:41 +00:00
|
|
|
jupyter_runtime = { package = "runtimelib", version = "=0.19.0", features = ["tokio-runtime"] }
|
2023-04-13 01:08:01 +00:00
|
|
|
lazy-regex.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
libc.workspace = true
|
2023-11-11 14:20:12 +00:00
|
|
|
libz-sys.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
log = { workspace = true, features = ["serde"] }
|
2023-03-08 23:15:20 +00:00
|
|
|
lsp-types.workspace = true
|
2024-10-22 10:15:59 +00:00
|
|
|
malva = "=0.11.0"
|
2024-11-20 18:01:56 +00:00
|
|
|
markup_fmt = "=0.16.0"
|
2024-04-16 21:14:59 +00:00
|
|
|
memmem.workspace = true
|
2023-09-14 16:21:57 +00:00
|
|
|
monch.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
notify.workspace = true
|
|
|
|
once_cell.workspace = true
|
2024-02-01 15:25:56 +00:00
|
|
|
open = "5.0.1"
|
2024-02-28 02:28:02 +00:00
|
|
|
p256.workspace = true
|
2024-05-23 23:43:38 +00:00
|
|
|
pathdiff = "0.2.1"
|
2022-11-22 20:07:35 +00:00
|
|
|
percent-encoding.workspace = true
|
2024-02-05 20:26:59 +00:00
|
|
|
phf.workspace = true
|
2024-09-09 15:45:17 +00:00
|
|
|
pretty_yaml = "=0.5.0"
|
2023-10-28 13:10:17 +00:00
|
|
|
quick-junit = "^0.3.5"
|
2022-11-22 20:07:35 +00:00
|
|
|
rand = { workspace = true, features = ["small_rng"] }
|
|
|
|
regex.workspace = true
|
|
|
|
ring.workspace = true
|
2024-01-11 21:05:55 +00:00
|
|
|
rustyline.workspace = true
|
2022-07-18 18:47:00 +00:00
|
|
|
rustyline-derive = "=0.7.0"
|
2022-11-22 20:07:35 +00:00
|
|
|
serde.workspace = true
|
|
|
|
serde_repr.workspace = true
|
2023-11-23 23:38:07 +00:00
|
|
|
sha2.workspace = true
|
2021-12-07 00:43:09 +00:00
|
|
|
shell-escape = "=0.1.5"
|
2024-02-28 02:28:02 +00:00
|
|
|
spki = { version = "0.7", features = ["pem"] }
|
2024-11-20 23:21:41 +00:00
|
|
|
# NOTE(bartlomieju): using temporary fork for now, revert back to `sqlformat-rs` later
|
|
|
|
sqlformat = { package = "deno_sqlformat", version = "0.3.2" }
|
2024-08-12 15:55:33 +00:00
|
|
|
strsim = "0.11.1"
|
2022-11-22 20:07:35 +00:00
|
|
|
tar.workspace = true
|
2023-03-22 18:55:19 +00:00
|
|
|
tempfile.workspace = true
|
2021-12-07 00:43:09 +00:00
|
|
|
text-size = "=1.1.0"
|
2022-07-11 23:02:11 +00:00
|
|
|
text_lines = "=0.6.0"
|
2023-03-14 14:55:52 +00:00
|
|
|
thiserror.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
tokio.workspace = true
|
|
|
|
tokio-util.workspace = true
|
2023-03-08 23:15:20 +00:00
|
|
|
tower-lsp.workspace = true
|
2024-08-23 02:15:10 +00:00
|
|
|
tracing = { version = "0.1", features = ["log", "default"] }
|
2024-05-24 14:15:46 +00:00
|
|
|
twox-hash.workspace = true
|
2024-08-12 19:57:50 +00:00
|
|
|
typed-arena = "=2.0.2"
|
2022-11-22 20:07:35 +00:00
|
|
|
uuid = { workspace = true, features = ["serde"] }
|
2024-08-14 11:04:07 +00:00
|
|
|
walkdir = "=2.3.2"
|
2024-07-10 03:06:08 +00:00
|
|
|
which.workspace = true
|
2024-03-26 00:53:50 +00:00
|
|
|
zeromq.workspace = true
|
2024-08-08 07:19:05 +00:00
|
|
|
zip = { version = "2.1.6", default-features = false, features = ["deflate-flate2"] }
|
2023-03-21 19:11:22 +00:00
|
|
|
zstd.workspace = true
|
2020-03-27 20:09:51 +00:00
|
|
|
|
2019-03-30 18:45:36 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2024-03-09 03:37:29 +00:00
|
|
|
junction.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
winapi = { workspace = true, features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }
|
2019-04-22 01:26:56 +00:00
|
|
|
|
2022-10-21 19:50:03 +00:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
2022-11-22 20:07:35 +00:00
|
|
|
nix.workspace = true
|
2022-10-21 19:50:03 +00:00
|
|
|
|
2019-09-10 15:09:54 +00:00
|
|
|
[dev-dependencies]
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_bench_util.workspace = true
|
|
|
|
pretty_assertions.workspace = true
|
|
|
|
test_util.workspace = true
|
2020-02-26 06:01:24 +00:00
|
|
|
|
2020-07-15 19:54:38 +00:00
|
|
|
[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"
|
2021-04-01 23:10:00 +00:00
|
|
|
FileDescription = "Deno: A secure runtime for JavaScript and TypeScript"
|