2023-01-02 21:00:42 +00:00
|
|
|
# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
2020-12-13 18:45:53 +00:00
|
|
|
|
|
|
|
[package]
|
|
|
|
name = "deno_runtime"
|
2023-05-30 02:26:03 +00:00
|
|
|
version = "0.115.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-02-20 20:45:34 +00:00
|
|
|
# A feature that disables creation of startup snapshot during in the build script.
|
|
|
|
dont_create_runtime_snapshot = []
|
|
|
|
# A feature that changes how startup snapshot is generated, that allows
|
|
|
|
# extending it in embedder crates.
|
2022-11-28 11:47:25 +00:00
|
|
|
snapshot_from_snapshot = []
|
2023-02-20 20:45:34 +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",
|
|
|
|
]
|
2021-08-11 16:01:30 +00:00
|
|
|
|
2020-12-13 18:45:53 +00:00
|
|
|
[lib]
|
|
|
|
name = "deno_runtime"
|
|
|
|
path = "lib.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "hello_runtime"
|
|
|
|
path = "examples/hello_runtime.rs"
|
|
|
|
|
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
|
|
|
|
deno_console.workspace = true
|
|
|
|
deno_core.workspace = true
|
|
|
|
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
|
|
|
|
deno_webidl.workspace = true
|
|
|
|
deno_websocket.workspace = true
|
|
|
|
deno_webstorage.workspace = true
|
|
|
|
deno_napi.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
|
|
|
winres.workspace = true
|
|
|
|
winapi.workspace = true
|
2020-12-13 18:45:53 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-11-22 20:07:35 +00:00
|
|
|
deno_broadcast_channel.workspace = true
|
|
|
|
deno_cache.workspace = true
|
|
|
|
deno_console.workspace = true
|
|
|
|
deno_core.workspace = true
|
|
|
|
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
|
|
|
|
deno_tls.workspace = true
|
|
|
|
deno_url.workspace = true
|
|
|
|
deno_web.workspace = true
|
|
|
|
deno_webidl.workspace = true
|
|
|
|
deno_websocket.workspace = true
|
|
|
|
deno_webstorage.workspace = true
|
2023-04-22 09:17:31 +00:00
|
|
|
fastwebsockets.workspace = true
|
2020-12-13 18:45:53 +00:00
|
|
|
|
2022-11-22 20:07:35 +00:00
|
|
|
atty.workspace = true
|
2023-03-10 00:09:14 +00:00
|
|
|
console_static_text.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
dlopen.workspace = true
|
|
|
|
encoding_rs.workspace = true
|
2022-05-05 10:41:59 +00:00
|
|
|
filetime = "0.2.16"
|
2023-03-08 15:13:13 +00:00
|
|
|
fs3.workspace = true
|
2022-11-22 20:07:35 +00:00
|
|
|
http.workspace = true
|
|
|
|
hyper = { workspace = true, features = ["server", "stream", "http1", "http2", "runtime"] }
|
|
|
|
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
|
|
|
|
regex.workspace = true
|
|
|
|
ring.workspace = true
|
|
|
|
serde.workspace = true
|
2022-01-04 20:55:06 +00:00
|
|
|
signal-hook-registry = "1.4.0"
|
2022-05-05 10:41:59 +00:00
|
|
|
termcolor = "1.1.3"
|
2022-11-22 20:07:35 +00:00
|
|
|
tokio.workspace = true
|
|
|
|
uuid.workspace = true
|
2020-12-13 18:45:53 +00:00
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-11-22 20:07:35 +00:00
|
|
|
fwdansi.workspace = true
|
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"
|
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"]
|