-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Expand file tree
/
Copy pathCargo.toml
More file actions
227 lines (213 loc) · 7.84 KB
/
Copy pathCargo.toml
File metadata and controls
227 lines (213 loc) · 7.84 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
216
217
218
219
220
221
222
223
224
225
226
227
# Copyright 2018-2026 the Deno authors. MIT license.
[package]
name = "deno"
version = "2.9.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", "opentelemetry-otlp/grpc-tonic"]
# Custom panic trace with `deno_panic`
panic-trace = ["deno_panic"]
[build-dependencies]
deno_runtime = { workspace = true }
deno_core = { workspace = true }
lazy-regex.workspace = true
serde.workspace = true
serde_json.workspace = true
zstd.workspace = true
flate2 = { workspace = true, features = ["default"] }
deno_error.workspace = true
sha2.workspace = true
[target.'cfg(windows)'.build-dependencies]
winres.workspace = true
[dependencies]
deno_ast = { workspace = true, features = ["cjs", "codegen", "proposal", "react", "sourcemap", "transforms", "typescript", "view", "visit", "utils"] }
deno_bundle_runtime.workspace = true
deno_cache_dir = { workspace = true, features = ["sync"] }
deno_cli_parser.workspace = true
deno_config = { workspace = true, features = ["sync", "workspace"] }
deno_core.workspace = true
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_npmrc.workspace = true
deno_package_json = { workspace = true, features = ["sync"] }
deno_panic = { version = "0.2.0", optional = true }
deno_path_util.workspace = true
deno_print.workspace = true
deno_resolver = { workspace = true, features = ["deno_ast", "graph", "sync"] }
deno_runtime.workspace = true
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
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
backhand.workspace = true
base64.workspace = true
bincode.workspace = true
boxed_error.workspace = true
bsdiff.workspace = true
bytes.workspace = true
cab.workspace = true
capacity_builder.workspace = true
cfb.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
console_static_text.workspace = true
crossterm.workspace = true
dashmap.workspace = true
deno_dotenv.workspace = true
dhat = { workspace = true, optional = 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"] }
faster-hex.workspace = true
fastwebsockets.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
glob.workspace = true
http.workspace = true
http-body.workspace = true
http-body-util.workspace = true
hyper.workspace = true
hyper-util.workspace = true
imara-diff.workspace = true
import_map.workspace = true
indexmap.workspace = true
jsonc-parser = { workspace = true, features = ["cst", "serde"] }
keyring = { version = "3.6.3", features = ["apple-native", "sync-secret-service", "windows-native", "vendored"] }
lax-css.workspace = true
lax-markup.workspace = true
lax-sql.workspace = true
lazy-regex.workspace = true
libc.workspace = true
liblzma.workspace = true
libz-sys.workspace = true
locked-tripwire = "0.1.1"
log = { workspace = true, features = ["serde"] }
lsp-types.workspace = true
memchr.workspace = true
msi.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
plist = "1"
pretty_yaml.workspace = true
rand = { workspace = true, features = ["small_rng"] }
regex.workspace = true
rpm.workspace = true
rustc-hash.workspace = true
rustls.workspace = true
rustyline.workspace = true
rustyline-derive.workspace = true
same-file.workspace = true
serde.workspace = true
serde_repr.workspace = true
sha2.workspace = true
shlex.workspace = true
spki = { workspace = true, features = ["pem"] }
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-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", "v5"] }
walkdir.workspace = true
wasm_dep_analyzer = "0.4.0"
wasmparser = "0.244.0"
which = { workspace = true, features = ["real-sys"] }
yaml_parser.workspace = true
zip = { workspace = true, features = ["deflate-flate2"] }
zstd.workspace = true
[target.'cfg(windows)'.dependencies]
windows-sys = { workspace = true, features = ["Win32_Foundation", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Console", "Win32_System_RestartManager", "Win32_System_Threading"] }
deno_subprocess_windows.workspace = true
[target.'cfg(unix)'.dependencies]
nix.workspace = true
[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 = ["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"
[package.metadata.cargo-shear]
ignored = ["locked-tripwire"]