-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (45 loc) · 1.94 KB
/
Cargo.toml
File metadata and controls
53 lines (45 loc) · 1.94 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
[package]
name = "hyperlight-js-runtime"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
readme.workspace = true
description = """
hyperlight-js-runtime is a rust binary crate that provides the JavaScript runtime binary for hyperlight-js.
"""
[[bin]]
name = "hyperlight-js-runtime"
harness = false
test = false
[dependencies]
anyhow = { version = "1.0", default-features = false }
base64 = {version = "0.22", default-features = false, features = ["alloc"] }
fn-traits = "0.2.0"
hashbrown = { version = "0.17", features = ["serde"] }
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
hmac = { version = "0.12" , default-features = false, features = ["reset"]}
rquickjs = { version = "0.11", default-features = false, features = ["bindgen", "futures", "macro", "loader"] }
serde = { version = "1.0.228", default-features = false, features = ["derive", "alloc"] }
serde_json = { version = "1.0.149", default-features = false, features = ["alloc"] }
sha2 = { version = "0.10" , default-features = false, features = ["force-soft"]}
spin = "0.10"
tracing = { version = "0.1.44", default-features = false, features = ["log","attributes","max_level_trace","release_max_level_error"] }
[target.'cfg(hyperlight)'.dependencies]
hyperlight-common = { workspace = true, default-features = false }
hyperlight-guest = { workspace = true }
hyperlight-guest-bin = { workspace = true }
chrono = { version = "0.4", default-features = false }
[target.'cfg(not(hyperlight))'.dependencies]
clap = { version = "4.6", features = ["derive"] }
[target.'cfg(not(hyperlight))'.dev-dependencies]
escargot = "0.5"
tempfile = "3.27"
[build-dependencies]
bindgen = "0.72"
[features]
default = []
trace_guest = ["hyperlight-common/trace_guest", "hyperlight-guest/trace_guest", "hyperlight-guest-bin/trace_guest"]
[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(hyperlight)'] }