-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (40 loc) · 1.21 KB
/
Cargo.toml
File metadata and controls
47 lines (40 loc) · 1.21 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
[package]
name = "hyperlight-nanvix"
version = "0.1.0"
edition = "2021"
description = "A Hyperlight VMM wrapper with out-of-the-box support for running Nanvix microkernel guests"
[dependencies]
nanvix = { git = "https://github.com/nanvix/nanvix", rev = "cc9c508918bd17678e9d790f10a6a7c20b7902da", features = [
"single-process",
"hyperlight",
] }
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] }
anyhow = "1.0"
clap = { version = "4", features = ["derive"] }
dirs = "6"
libc = "0.2.178"
# NAPI bindings (optional)
napi = { version = "3.5.0", optional = true, features = [
"async",
"serde-json",
] }
napi-derive = { version = "3.3.0", optional = true }
# Python bindings (optional)
pyo3 = { version = "0.20", optional = true, features = [
"extension-module",
"abi3-py38",
] }
pyo3-asyncio = { version = "0.20", optional = true, features = [
"tokio-runtime",
] }
[features]
default = []
napi = ["dep:napi", "dep:napi-derive", "dep:napi-build"]
python = ["dep:pyo3", "dep:pyo3-asyncio"]
[lib]
crate-type = ["cdylib", "rlib"]
[[example]]
name = "syscall_interception"
path = "examples/syscall_interception.rs"
[build-dependencies]
napi-build = { version = "2.3.0", optional = true }