-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (45 loc) · 2.03 KB
/
Copy pathCargo.toml
File metadata and controls
55 lines (45 loc) · 2.03 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
[package]
name = "openworkers-conformance"
version = "0.1.1"
edition = "2024"
license = "MIT"
[features]
default = []
# Runtime backends, one per build
v8 = ["dep:openworkers-runtime-v8", "dep:openworkers-transform", "_js"]
jsc = ["dep:openworkers-runtime-jsc", "_js"]
quickjs = ["dep:openworkers-runtime-quickjs", "_js"]
boa = ["dep:openworkers-runtime-boa", "_js"]
nova = ["dep:openworkers-runtime-nova", "_js"]
# The guest is a wasm component, not a script, so the JS suite reports a skip
wasm = ["dep:openworkers-runtime-wasm", "openworkers-core/wasm"]
# Internal: the backend evaluates JavaScript, so the suite applies to it
_js = []
[dependencies]
openworkers-core = { git = "https://github.com/openworkers/openworkers-core", tag = "v0.15.0" }
# Sibling checkouts, like the runtimes expect for core: a conformance number has
# to come from the runtime as it stands, not from a published tag.
openworkers-runtime-v8 = { path = "../openworkers-runtime-v8", optional = true, features = ["ptrcomp"] }
openworkers-runtime-jsc = { path = "../openworkers-runtime-jsc", optional = true }
openworkers-runtime-quickjs = { path = "../openworkers-runtime-quickjs", optional = true }
openworkers-runtime-boa = { path = "../openworkers-runtime-boa", optional = true }
openworkers-runtime-nova = { path = "../openworkers-runtime-nova", optional = true }
openworkers-runtime-wasm = { path = "../openworkers-runtime-wasm", optional = true }
# ESM -> classic script lowering, only the SSR oracle needs it.
openworkers-transform = { git = "https://github.com/openworkers/openworkers-transform", tag = "v0.1.0", optional = true }
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# The streaming battery builds request bodies and digests what comes back, so
# both are needed on every backend, not only under the SSR oracle.
bytes = "1"
sha2 = "0.11"
[[bin]]
name = "conformance"
path = "src/main.rs"
[[bin]]
name = "streaming"
path = "src/bin/streaming.rs"
[[example]]
name = "ssr_oracle"
required-features = ["v8"]