forked from denoland/deno
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
215 lines (202 loc) · 7.76 KB
/
Cargo.toml
File metadata and controls
215 lines (202 loc) · 7.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
# Copyright 2018-2026 the Deno authors. MIT license.
[package]
name = "deno"
version = "2.7.3"
authors.workspace = true
default-run = "deno"
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Provides the deno executable"
[[bin]]
name = "deno"
path = "main.rs"
doc = false
[lib]
path = "lib.rs"
[[test]]
name = "integration"
path = "integration_tests_runner.rs"
harness = false
[features]
default = ["upgrade", "__vendored_zlib_ng"]
# 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"]
# 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 = []
# A dev feature to disable creations and loading of snapshots in favor of
# loading JS sources at runtime.
hmr = ["deno_runtime/hmr", "deno_snapshots/disable"]
# Vendor zlib as zlib-ng
__vendored_zlib_ng = ["flate2/zlib-ng-compat", "libz-sys/zlib-ng"]
lsp-tracing = ["dep:tracing", "dep:tracing-subscriber", "dep:tracing-opentelemetry"]
# Custom panic trace with `deno_panic`
panic-trace = ["deno_panic"]
[build-dependencies]
deno_runtime = { workspace = true, features = ["include_js_files_for_snapshotting", "only_snapshotted_js_sources"] }
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
lazy-regex.workspace = true
serde.workspace = true
serde_json.workspace = true
zstd.workspace = true
flate2 = { workspace = true, features = ["default"] }
deno_error.workspace = true
[target.'cfg(windows)'.build-dependencies]
winapi.workspace = true
winres.workspace = true
[dependencies]
deno_ast = { workspace = true, features = ["bundler", "cjs", "codegen", "proposal", "react", "sourcemap", "transforms", "typescript", "view", "visit", "utils"] }
deno_bundle_runtime.workspace = true
deno_cache_dir = { workspace = true, features = ["sync"] }
deno_config = { workspace = true, features = ["sync", "workspace"] }
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_doc = { workspace = true, features = ["rust", "comrak"] }
deno_error.workspace = true
deno_graph = { workspace = true, features = ["fast_check"] }
deno_lib.workspace = true
deno_lint.workspace = true
deno_lockfile.workspace = true
deno_media_type = { workspace = true, features = ["data_url", "decoding", "module_specifier"] }
deno_npm.workspace = true
deno_npm_cache.workspace = true
deno_npm_installer = { workspace = true }
deno_package_json = { workspace = true, features = ["sync"] }
deno_panic = { version = "0.2.0", optional = true }
deno_path_util.workspace = true
deno_resolver = { workspace = true, features = ["deno_ast", "graph", "sync"] }
deno_runtime = { workspace = true, features = ["include_js_files_for_snapshotting"] }
deno_semver.workspace = true
deno_signals.workspace = true
deno_snapshots.workspace = true
deno_task_shell.workspace = true
deno_telemetry.workspace = true
deno_terminal.workspace = true
deno_typescript_go_client_rust.workspace = true
eszip.workspace = true
libsui.workspace = true
node_resolver = { workspace = true, features = ["graph", "sync"] }
node_shim.workspace = true
anstream.workspace = true
async-trait.workspace = true
aws-lc-rs.workspace = true
base64.workspace = true
bincode.workspace = true
boxed_error.workspace = true
bytes.workspace = true
bytes-str = "0.2.5"
capacity_builder.workspace = true
chrono = { workspace = true, features = ["now"] }
clap = { workspace = true, features = ["env", "string", "wrap_help", "error-context"] }
clap_complete.workspace = true
clap_complete_fig.workspace = true
color-print.workspace = true
comrak.workspace = true
console_static_text.workspace = true
crossterm.workspace = true
dashmap.workspace = true
deno_dotenv.workspace = true
dhat = { workspace = true, optional = true }
dissimilar.workspace = true
dprint-core.workspace = true
dprint-plugin-json.workspace = true
dprint-plugin-jupyter.workspace = true
dprint-plugin-markdown.workspace = true
dprint-plugin-typescript.workspace = true
esbuild_client = { version = "0.7.1", features = ["serde"] }
fancy-regex.workspace = true
faster-hex.workspace = true
# If you disable the default __vendored_zlib_ng feature above, you _must_ be able to link against `-lz`.
flate2.workspace = true
fluent-uri.workspace = true
http.workspace = true
http-body.workspace = true
http-body-util.workspace = true
import_map.workspace = true
indexmap.workspace = true
jsonc-parser = { workspace = true, features = ["cst", "serde"] }
jupyter-protocol.workspace = true
jupyter_runtime.workspace = true
keyring = { version = "3.6.3", features = ["apple-native", "sync-secret-service", "windows-native", "vendored"] }
lazy-regex.workspace = true
libc.workspace = true
libz-sys.workspace = true
locked-tripwire = "0.1.1"
log = { workspace = true, features = ["serde"] }
lol_html = "2.6.0"
lsp-types.workspace = true
malva.workspace = true
markup_fmt.workspace = true
memchr.workspace = true
notify.workspace = true
once_cell.workspace = true
open.workspace = true
opentelemetry.workspace = true
opentelemetry-otlp.workspace = true
opentelemetry-semantic-conventions.workspace = true
opentelemetry_sdk.workspace = true
p256.workspace = true
pathdiff.workspace = true
percent-encoding.workspace = true
phf.workspace = true
pretty_yaml.workspace = true
quick-junit.workspace = true
rand = { workspace = true, features = ["small_rng"] }
regex.workspace = true
rustc-hash.workspace = true
rustls.workspace = true
rustyline.workspace = true
rustyline-derive.workspace = true
serde.workspace = true
serde_repr.workspace = true
sha2.workspace = true
shlex.workspace = true
spki = { workspace = true, features = ["pem"] }
sqlformat.workspace = true
strsim.workspace = true
sys_traits = { workspace = true, features = ["getrandom", "filetime", "libc", "serde_json", "real", "strip_unc", "winapi"] }
tar.workspace = true
tempfile.workspace = true
text-size.workspace = true
text_lines.workspace = true
thiserror.workspace = true
tokio.workspace = true
tokio-util.workspace = true
tower.workspace = true
tower-lsp.workspace = true
tracing = { workspace = true, features = ["log"], optional = true }
tracing-opentelemetry = { workspace = true, optional = true }
tracing-subscriber = { workspace = true, features = ["env-filter"], optional = true }
twox-hash.workspace = true
typed-arena.workspace = true
unicode-width.workspace = true
uuid = { workspace = true, features = ["serde"] }
walkdir.workspace = true
weak-table.workspace = true
zip = { workspace = true, features = ["deflate-flate2"] }
zstd.workspace = true
[target.'cfg(windows)'.dependencies]
winapi = { workspace = true, features = ["knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }
deno_subprocess_windows.workspace = true
[target.'cfg(unix)'.dependencies]
nix.workspace = true
shell-escape = "=0.1.5"
[target.'cfg(any(target_os = "android", target_os = "linux", target_os = "macos"))'.dependencies]
tokio-vsock.workspace = true
[dev-dependencies]
# unsafe_use_unprotected_platform is a workaround for a segfault that may occur
# when running multiple v8 tests on different threads
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting", "unsafe_use_unprotected_platform"] }
pretty_assertions.workspace = true
sys_traits = { workspace = true, features = ["memory"] }
test_util.workspace = true
[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"
FileDescription = "Deno: A secure runtime for JavaScript and TypeScript"