2024-01-01 19:58:21 +00:00
|
|
|
# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2020-12-13 18:45:53 +00:00
|
|
|
|
|
|
|
[package]
|
|
|
|
name = "deno_runtime"
|
2024-11-21 19:35:32 +00:00
|
|
|
version = "0.188.0"
|
2022-11-22 20:07:35 +00:00
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
repository.workspace = true
|
2021-08-02 14:19:27 +00:00
|
|
|
description = "Provides the deno runtime library"
|
2020-12-13 18:45:53 +00:00
|
|
|
|
2021-08-11 16:01:30 +00:00
|
|
|
[features]
|
|
|
|
# "fake" feature that allows to generate docs on docs.rs
|
|
|
|
docsrs = []
|
2023-08-28 21:30:46 +00:00
|
|
|
# A feature that allows excluding `./js/99_main.js` from the exported extension.
|
|
|
|
exclude_runtime_main_js = []
|
2023-06-26 11:54:10 +00:00
|
|
|
# A feature that disables embedding of the JavaScript source files in the binary.
|
|
|
|
# With this feature enabled, the sources must be consumed during build time,
|
|
|
|
# by creating a startup snapshot.
|
|
|
|
include_js_files_for_snapshotting = [
|
|
|
|
"deno_core/include_js_files_for_snapshotting",
|
|
|
|
]
|
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 = ["include_js_files_for_snapshotting"]
|
2024-01-22 12:37:25 +00:00
|
|
|
# Signal that only snapshotted JS sources should be used. This will
|
|
|
|
# conditionally exclude the runtime source transpilation logic, and add an
|
|
|
|
# assertion that a snapshot is provided.
|
|
|
|
only_snapshotted_js_sources = ["include_js_files_for_snapshotting"]
|
2021-08-11 16:01:30 +00:00
|
|
|
|
2024-07-29 16:58:04 +00:00
|
|
|
[lints.rust]
|
|
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tokio_unstable)'] }
|
|
|
|
|
2020-12-13 18:45:53 +00:00
|
|
|
[lib]
|
|
|
|
name = "deno_runtime"
|
|
|
|
path = "lib.rs"
|
|
|
|
|
|
|
|
[[example]]
|
2024-03-14 03:23:37 +00:00
|
|
|
name = "extension"
|
|
|
|
path = "examples/extension/main.rs"
|
2020-12-13 18:45:53 +00:00
|
|
|
|
2022-07-04 22:12:41 +00:00
|
|
|
[build-dependencies]
|
2023-02-08 21:40:18 +00:00
|
|
|
deno_ast.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_broadcast_channel.workspace = true
|
|
|
|
deno_cache.workspace = true
|
2024-01-22 11:08:01 +00:00
|
|
|
deno_canvas.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_console.workspace = true
|
2023-06-26 11:54:10 +00:00
|
|
|
deno_core.workspace = true
|
2023-11-01 18:57:55 +00:00
|
|
|
deno_cron.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_crypto.workspace = true
|
|
|
|
deno_fetch.workspace = true
|
|
|
|
deno_ffi.workspace = true
|
2023-05-08 15:02:02 +00:00
|
|
|
deno_fs = { workspace = true, features = ["sync_fs"] }
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_http.workspace = true
|
2023-03-05 00:39:48 +00:00
|
|
|
deno_io.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_net.workspace = true
|
|
|
|
deno_node.workspace = true
|
2023-03-22 04:13:24 +00:00
|
|
|
deno_kv.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_tls.workspace = true
|
|
|
|
deno_url.workspace = true
|
|
|
|
deno_web.workspace = true
|
2023-12-09 00:19:16 +00:00
|
|
|
deno_webgpu.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_webidl.workspace = true
|
|
|
|
deno_websocket.workspace = true
|
|
|
|
deno_webstorage.workspace = true
|
|
|
|
deno_napi.workspace = true
|
2023-11-11 14:20:12 +00:00
|
|
|
flate2 = { workspace = true, features = ["default"] }
|
2023-11-17 08:57:25 +00:00
|
|
|
serde.workspace = true
|
2022-07-04 22:12:41 +00:00
|
|
|
|
2020-12-13 18:45:53 +00:00
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
2022-11-22 20:07:35 +00:00
|
|
|
winapi.workspace = true
|
2020-12-13 18:45:53 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2023-08-05 23:47:15 +00:00
|
|
|
deno_ast.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_broadcast_channel.workspace = true
|
|
|
|
deno_cache.workspace = true
|
2024-01-22 11:08:01 +00:00
|
|
|
deno_canvas.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_console.workspace = true
|
|
|
|
deno_core.workspace = true
|
2023-11-01 18:57:55 +00:00
|
|
|
deno_cron.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_crypto.workspace = true
|
|
|
|
deno_fetch.workspace = true
|
|
|
|
deno_ffi.workspace = true
|
2023-05-08 15:02:02 +00:00
|
|
|
deno_fs = { workspace = true, features = ["sync_fs"] }
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_http.workspace = true
|
2023-03-05 00:39:48 +00:00
|
|
|
deno_io.workspace = true
|
2023-03-22 04:13:24 +00:00
|
|
|
deno_kv.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_napi.workspace = true
|
|
|
|
deno_net.workspace = true
|
|
|
|
deno_node.workspace = true
|
2024-09-28 11:55:01 +00:00
|
|
|
deno_path_util.workspace = true
|
2024-03-12 17:42:26 +00:00
|
|
|
deno_permissions.workspace = true
|
2024-02-07 16:25:14 +00:00
|
|
|
deno_terminal.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_tls.workspace = true
|
|
|
|
deno_url.workspace = true
|
|
|
|
deno_web.workspace = true
|
2023-12-09 00:19:16 +00:00
|
|
|
deno_webgpu.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_webidl.workspace = true
|
|
|
|
deno_websocket.workspace = true
|
|
|
|
deno_webstorage.workspace = true
|
2024-07-25 23:08:14 +00:00
|
|
|
node_resolver = { workspace = true, features = ["sync"] }
|
2020-12-13 18:45:53 +00:00
|
|
|
|
2024-11-13 10:38:46 +00:00
|
|
|
async-trait.workspace = true
|
2024-10-15 21:51:39 +00:00
|
|
|
color-print.workspace = true
|
2023-11-05 09:29:26 +00:00
|
|
|
dlopen2.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
encoding_rs.workspace = true
|
2023-12-26 20:53:28 +00:00
|
|
|
fastwebsockets.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
http.workspace = true
|
2023-12-27 13:38:44 +00:00
|
|
|
http-body-util.workspace = true
|
2023-12-27 16:59:57 +00:00
|
|
|
hyper.workspace = true
|
2023-12-24 13:14:29 +00:00
|
|
|
hyper-util.workspace = true
|
2023-12-27 16:59:57 +00:00
|
|
|
hyper_v014 = { workspace = true, features = ["server", "stream", "http1", "http2", "runtime"] }
|
2022-11-22 20:07:35 +00:00
|
|
|
libc.workspace = true
|
|
|
|
log.workspace = true
|
2022-09-19 18:12:03 +00:00
|
|
|
netif = "0.1.6"
|
2022-11-22 20:07:35 +00:00
|
|
|
notify.workspace = true
|
|
|
|
once_cell.workspace = true
|
2024-11-13 10:38:46 +00:00
|
|
|
opentelemetry.workspace = true
|
|
|
|
opentelemetry-http.workspace = true
|
|
|
|
opentelemetry-otlp.workspace = true
|
|
|
|
opentelemetry-semantic-conventions.workspace = true
|
|
|
|
opentelemetry_sdk.workspace = true
|
2024-04-17 14:19:55 +00:00
|
|
|
percent-encoding.workspace = true
|
2024-11-13 10:38:46 +00:00
|
|
|
pin-project.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
regex.workspace = true
|
2024-01-11 21:05:55 +00:00
|
|
|
rustyline = { workspace = true, features = ["custom-bindings"] }
|
2024-10-23 03:52:58 +00:00
|
|
|
same-file = "1.0.6"
|
2022-11-22 20:07:35 +00:00
|
|
|
serde.workspace = true
|
2024-03-11 17:22:28 +00:00
|
|
|
signal-hook = "0.3.17"
|
2022-01-04 20:55:06 +00:00
|
|
|
signal-hook-registry = "1.4.0"
|
2024-09-27 19:35:37 +00:00
|
|
|
tempfile.workspace = true
|
2024-10-22 08:41:08 +00:00
|
|
|
thiserror.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
tokio.workspace = true
|
2023-06-09 11:52:51 +00:00
|
|
|
tokio-metrics.workspace = true
|
2024-05-24 14:15:46 +00:00
|
|
|
twox-hash.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
uuid.workspace = true
|
2024-07-10 03:06:08 +00:00
|
|
|
which.workspace = true
|
2020-12-13 18:45:53 +00:00
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2023-03-21 15:46:40 +00:00
|
|
|
winapi = { workspace = true, features = ["commapi", "knownfolders", "mswsock", "objbase", "psapi", "shlobj", "tlhelp32", "winbase", "winerror", "winuser", "winsock2"] }
|
2022-11-02 07:17:00 +00:00
|
|
|
ntapi = "0.4.0"
|
2023-12-19 12:37:22 +00:00
|
|
|
windows-sys.workspace = true
|
2020-12-13 18:45:53 +00:00
|
|
|
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
2022-11-22 20:07:35 +00:00
|
|
|
nix.workspace = true
|
2020-12-13 18:45:53 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
# Used in benchmark
|
2022-11-22 20:07:35 +00:00
|
|
|
test_util.workspace = true
|
2021-08-11 16:01:30 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["docsrs"]
|