Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (49 loc) · 1.83 KB
/
Copy pathCargo.toml
File metadata and controls
56 lines (49 loc) · 1.83 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
[package]
name = "openworkers-runtime-nova"
version = "0.18.2"
edition = "2024"
[features]
# BindingType::Invoke: env.<NAME>.invoke(command, args) calls a function of the host
invoke = ["openworkers-core/invoke"]
[dependencies]
# Common types
# openworkers-core = { path = "../openworkers-core" }
openworkers-core = { git = "https://github.com/openworkers/openworkers-core", tag = "v0.18.1" }
# The shared web surface
# openworkers-wintertc = { path = "../openworkers-wintertc" }
openworkers-wintertc = { git = "https://github.com/openworkers/openworkers-wintertc", tag = "v0.1.6" }
# Nova JavaScript engine (pure Rust, data-oriented, MPL-2.0)
# The 1.0.0 release plus the seven cfg attributes Intrinsics::temporal* needs to
# build without the feature; back to crates.io when upstream takes them.
# Dropping `temporal` is what keeps nova_vm out of temporal_rs 0.1.2, which
# compiles only against icu_calendar 2.1, where v8 152 forces 2.2.1 on a shared
# lockfile. Temporal was never reachable from the guest anyway.
nova_vm = { git = "https://github.com/openworkers/nova", tag = "v1.0.0-ow.2", default-features = false, features = [
"math",
"json",
"date",
"array-buffer",
"shared-array-buffer",
"weak-refs",
"atomics",
"regexp",
"set",
"annex-b",
] }
bytes = "1"
serde = { version = "1", features = ["derive"] }
# Timers wait on the embedder's reactor rather than blocking its thread
tokio = { version = "1", features = ["time"] }
serde_json = "1"
url = "2.5.8"
getrandom = "0.4"
sha1 = "0.11"
sha2 = "0.11"
hmac = "0.13"
# An asset body is arbitrary bytes, and only text crosses into nova
base64 = "0.23"
aes-gcm = "0.11"
[dev-dependencies]
openworkers-transform = { git = "https://github.com/openworkers/openworkers-transform", tag = "v0.1.0" }
sha2 = "0.11"
tokio = { version = "1", features = ["macros", "rt", "sync"] }