-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
44 lines (37 loc) · 1.46 KB
/
Cargo.toml
File metadata and controls
44 lines (37 loc) · 1.46 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
## Hyperlight Analysis Runtime
##
## Guest binary that runs inside the Hyperlight micro-VM.
## Provides secure, ReDoS-safe code analysis functions.
[package]
name = "hyperlight-analysis-runtime"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
description = "Guest runtime for Hyperlight-based code analysis"
[[bin]]
name = "hyperlight-analysis-runtime"
path = "src/main.rs"
harness = false
test = false
[dependencies]
anyhow = { version = "1.0", default-features = false }
serde = { version = "1", default-features = false, features = ["derive", "alloc"] }
serde_json = { version = "1", default-features = false, features = ["alloc"] }
regex-automata = { version = "0.4", default-features = false, features = ["alloc", "meta", "nfa-pikevm"] }
nom = { version = "8.0", default-features = false, features = ["alloc"] }
spin = "0.10"
rquickjs = { version = "0.11", default-features = false, features = ["bindgen", "loader"] }
hashbrown = "0.17"
sha2 = { version = "0.11", default-features = false }
[target.'cfg(hyperlight)'.dependencies]
hyperlight-common = { workspace = true, default-features = false }
hyperlight-guest = { workspace = true }
hyperlight-guest-bin = { workspace = true }
[target.'cfg(not(hyperlight))'.dependencies]
clap = { version = "4.5", features = ["derive"] }
[build-dependencies]
bindgen = "0.72"
[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(hyperlight)'] }