forked from enarx/enarx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
98 lines (87 loc) · 2.93 KB
/
Cargo.toml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[package]
name = "enarx"
version = "0.3.0"
authors = ["The Enarx Project Developers"]
license = "Apache-2.0"
edition = "2021"
build = "build.rs"
homepage = "https://github.com/enarx/enarx"
repository = "https://github.com/enarx/enarx"
description = "Enarx Keep Loader"
readme = "README.md"
keywords = ["sgx", "sev", "kvm", "tee"]
categories = ["os", "os::linux-apis", "network-programming", "hardware-support"]
include = [ "/src", "/internal", "!/internal/*/target", "/build.rs", "/LICENSE", "/README.md", "/rust-toolchain.toml" ]
[badges]
# See https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section
github = { repository = "enarx/enarx", workflow = "test" }
#github = { repository = "enarx/enarx", workflow = "lint" }
maintenance = { status = "actively-developed" }
is-it-maintained-issue-resolution = { repository = "enarx/enarx" }
is-it-maintained-open-issues = { repository = "enarx/enarx" }
[features]
default = ["backend-kvm", "backend-sgx", "backend-sev"]
backend-sev = ["backend-kvm", "ureq"]
backend-kvm = ["x86_64", "kvm-bindings", "kvm-ioctls"]
backend-sgx = ["x86_64", "sgx", "ureq"]
gdb = ["gdbstub"]
dbg = []
[dependencies]
x86_64 = { version = "^0.14.8", default-features = false, optional = true }
sgx = { version = "0.3.0", features = ["openssl"], optional = true }
const-default = { version = "1.0", features = [ "derive" ] }
primordial = { version = "0.4", features = ["alloc"] }
sallyport = { version = "0.3.0", git = "https://github.com/enarx/sallyport", rev = "580480b19b1542bc3da2fdafef08f895f5bb3389" }
kvm-bindings = { version = "0.5", optional = true }
kvm-ioctls = { version = "0.11", optional = true }
gdbstub = { version = "0.5.0", optional = true }
protobuf = "2.22"
clap = { version = "3.0", features = ["env", "derive", "wrap_help"] }
openssl = "0.10"
bitflags = "1.2"
iocuddle = "0.1.1"
colorful = "0.2"
mmarinus = "0.2.1"
nbytes = "0.1"
anyhow = "1.0.56"
static_assertions = "1.1.0"
semver = "1.0"
goblin = "0.5"
rand = "0.8"
libc = "0.2"
lset = "0.2"
vdso = "0.2"
log = "0.4"
spinning = "0.1.0"
env_logger = "0.9"
ureq = { version = "2.4.0", optional = true }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"
atty = "0.2"
dirs = "4.0"
# binary dependencies
wasmldr = { path = "src/bin/wasmldr", artifact = "bin", target = "x86_64-unknown-linux-musl" }
# h2 is an indirect dependency, to be specified when checking with `-Z minimal-versions`
# h2 is a dependency of hyper, which is a dep of reqwest
# h2 = "0.3.5"
[build-dependencies]
cc = "1.0.41"
walkdir = "2"
protobuf-codegen-pure = "2.27"
[dev-dependencies]
process_control = "3.3"
serial_test = "0.6"
tempfile = "3.3.0"
walkdir = "2"
wat = { version = "1.0" }
[profile.dev]
strip = true
[profile.release]
incremental = false
codegen-units = 1
lto = true
opt-level = "s"
strip = true
[workspace]
members = [ "tests/sev_attestation", "tests/rust-exec", "tests/wasm/rust-tests", "examples/tcp_server" ]
exclude = [ "internal/shim-kvm", "internal/shim-sgx" ]