2024-01-01 14:58:21 -05:00
|
|
|
# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
2020-12-13 13:45:53 -05:00
|
|
|
|
|
|
|
[package]
|
|
|
|
name = "deno_runtime"
|
2024-02-08 07:39:39 -05:00
|
|
|
version = "0.145.0"
|
2022-11-22 15:07:35 -05:00
|
|
|
authors.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
license.workspace = true
|
|
|
|
repository.workspace = true
|
2021-08-02 10:19:27 -04:00
|
|
|
description = "Provides the deno runtime library"
|
2020-12-13 13:45:53 -05:00
|
|
|
|
2021-08-11 12:01:30 -04:00
|
|
|
[features]
|
|
|
|
# "fake" feature that allows to generate docs on docs.rs
|
|
|
|
docsrs = []
|
2023-08-28 17:30:46 -04:00
|
|
|
# A feature that allows excluding `./js/99_main.js` from the exported extension.
|
|
|
|
exclude_runtime_main_js = []
|
2023-06-26 07:54:10 -04: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 19:47:15 -04:00
|
|
|
# A dev feature to disable creations and loading of snapshots in favor of
|
|
|
|
# loading JS sources at runtime.
|
2024-01-22 07:37:25 -05:00
|
|
|
__runtime_js_sources = ["include_js_files_for_snapshotting"]
|
|
|
|
# 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 12:01:30 -04:00
|
|
|
|
2020-12-13 13:45:53 -05:00
|
|
|
[lib]
|
|
|
|
name = "deno_runtime"
|
|
|
|
path = "lib.rs"
|
|
|
|
|
|
|
|
[[example]]
|
2023-05-31 16:26:24 -04:00
|
|
|
name = "extension_with_esm"
|
|
|
|
path = "examples/extension_with_esm/main.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "extension_with_ops"
|
|
|
|
path = "examples/extension_with_ops/main.rs"
|
2020-12-13 13:45:53 -05:00
|
|
|
|
2022-07-04 18:12:41 -04:00
|
|
|
[build-dependencies]
|
2023-02-08 16:40:18 -05:00
|
|
|
deno_ast.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_broadcast_channel.workspace = true
|
|
|
|
deno_cache.workspace = true
|
2024-01-22 06:08:01 -05:00
|
|
|
deno_canvas.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_console.workspace = true
|
2023-06-26 07:54:10 -04:00
|
|
|
deno_core.workspace = true
|
2023-11-01 14:57:55 -04:00
|
|
|
deno_cron.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_crypto.workspace = true
|
|
|
|
deno_fetch.workspace = true
|
|
|
|
deno_ffi.workspace = true
|
2023-05-08 11:02:02 -04:00
|
|
|
deno_fs = { workspace = true, features = ["sync_fs"] }
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_http.workspace = true
|
2023-03-04 19:39:48 -05:00
|
|
|
deno_io.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_net.workspace = true
|
|
|
|
deno_node.workspace = true
|
2023-03-22 00:13:24 -04:00
|
|
|
deno_kv.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_tls.workspace = true
|
|
|
|
deno_url.workspace = true
|
|
|
|
deno_web.workspace = true
|
2023-12-08 19:19:16 -05:00
|
|
|
deno_webgpu.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_webidl.workspace = true
|
|
|
|
deno_websocket.workspace = true
|
|
|
|
deno_webstorage.workspace = true
|
|
|
|
deno_napi.workspace = true
|
2023-11-11 09:20:12 -05:00
|
|
|
flate2 = { workspace = true, features = ["default"] }
|
2023-11-17 03:57:25 -05:00
|
|
|
serde.workspace = true
|
2022-07-04 18:12:41 -04:00
|
|
|
|
2020-12-13 13:45:53 -05:00
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
2022-11-22 15:07:35 -05:00
|
|
|
winres.workspace = true
|
|
|
|
winapi.workspace = true
|
2020-12-13 13:45:53 -05:00
|
|
|
|
|
|
|
[dependencies]
|
2023-08-05 19:47:15 -04:00
|
|
|
deno_ast.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_broadcast_channel.workspace = true
|
|
|
|
deno_cache.workspace = true
|
2024-01-22 06:08:01 -05:00
|
|
|
deno_canvas.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_console.workspace = true
|
|
|
|
deno_core.workspace = true
|
2023-11-01 14:57:55 -04:00
|
|
|
deno_cron.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_crypto.workspace = true
|
|
|
|
deno_fetch.workspace = true
|
|
|
|
deno_ffi.workspace = true
|
2023-05-08 11:02:02 -04:00
|
|
|
deno_fs = { workspace = true, features = ["sync_fs"] }
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_http.workspace = true
|
2023-03-04 19:39:48 -05:00
|
|
|
deno_io.workspace = true
|
2023-03-22 00:13:24 -04:00
|
|
|
deno_kv.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_napi.workspace = true
|
|
|
|
deno_net.workspace = true
|
|
|
|
deno_node.workspace = true
|
2024-02-07 11:25:14 -05:00
|
|
|
deno_terminal.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_tls.workspace = true
|
|
|
|
deno_url.workspace = true
|
|
|
|
deno_web.workspace = true
|
2023-12-08 19:19:16 -05:00
|
|
|
deno_webgpu.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
deno_webidl.workspace = true
|
|
|
|
deno_websocket.workspace = true
|
|
|
|
deno_webstorage.workspace = true
|
2020-12-13 13:45:53 -05:00
|
|
|
|
2023-03-09 19:09:14 -05:00
|
|
|
console_static_text.workspace = true
|
2023-11-05 04:29:26 -05:00
|
|
|
dlopen2.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
encoding_rs.workspace = true
|
2023-12-26 15:53:28 -05:00
|
|
|
fastwebsockets.workspace = true
|
2022-05-05 06:41:59 -04:00
|
|
|
filetime = "0.2.16"
|
2023-03-08 10:13:13 -05:00
|
|
|
fs3.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
http.workspace = true
|
2023-12-27 08:38:44 -05:00
|
|
|
http-body-util.workspace = true
|
2023-12-27 11:59:57 -05:00
|
|
|
hyper.workspace = true
|
2023-12-24 08:14:29 -05:00
|
|
|
hyper-util.workspace = true
|
2023-12-27 11:59:57 -05:00
|
|
|
hyper_v014 = { workspace = true, features = ["server", "stream", "http1", "http2", "runtime"] }
|
2022-11-22 15:07:35 -05:00
|
|
|
libc.workspace = true
|
|
|
|
log.workspace = true
|
2022-09-19 14:12:03 -04:00
|
|
|
netif = "0.1.6"
|
2022-11-22 15:07:35 -05:00
|
|
|
notify.workspace = true
|
|
|
|
once_cell.workspace = true
|
|
|
|
regex.workspace = true
|
|
|
|
ring.workspace = true
|
2024-01-11 16:05:55 -05:00
|
|
|
rustyline = { workspace = true, features = ["custom-bindings"] }
|
2022-11-22 15:07:35 -05:00
|
|
|
serde.workspace = true
|
2022-01-04 15:55:06 -05:00
|
|
|
signal-hook-registry = "1.4.0"
|
2022-11-22 15:07:35 -05:00
|
|
|
tokio.workspace = true
|
2023-06-09 07:52:51 -04:00
|
|
|
tokio-metrics.workspace = true
|
2022-11-22 15:07:35 -05:00
|
|
|
uuid.workspace = true
|
2023-08-30 13:52:01 -04:00
|
|
|
which = "4.2.5"
|
2020-12-13 13:45:53 -05:00
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-11-22 15:07:35 -05:00
|
|
|
fwdansi.workspace = true
|
2023-03-21 11:46:40 -04:00
|
|
|
winapi = { workspace = true, features = ["commapi", "knownfolders", "mswsock", "objbase", "psapi", "shlobj", "tlhelp32", "winbase", "winerror", "winuser", "winsock2"] }
|
2022-11-02 03:17:00 -04:00
|
|
|
ntapi = "0.4.0"
|
2023-12-19 07:37:22 -05:00
|
|
|
windows-sys.workspace = true
|
2020-12-13 13:45:53 -05:00
|
|
|
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
2022-11-22 15:07:35 -05:00
|
|
|
nix.workspace = true
|
2020-12-13 13:45:53 -05:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
# Used in benchmark
|
2022-11-22 15:07:35 -05:00
|
|
|
test_util.workspace = true
|
2021-08-11 12:01:30 -04:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
features = ["docsrs"]
|