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