-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (61 loc) · 1.62 KB
/
Cargo.toml
File metadata and controls
77 lines (61 loc) · 1.62 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[package]
name = "elastic-tee-hal"
version = "0.1.0"
edition = "2021"
authors = ["ELASTIC Consortium"]
description = "Hardware Abstraction Layer for Trusted Execution Environments in confidential computing"
license = "MIT"
repository = "https://github.com/syafiq/wasmhal"
[dependencies]
# WASI and WebAssembly Component Model
wasi = "0.13"
wit-bindgen = "0.30"
wasmtime = { version = "25", features = ["component-model"], optional = true }
cargo-component = { version = "0.13", optional = true }
# Async runtime and networking
tokio = { version = "1.0", features = ["full"] }
tokio-rustls = "0.26"
rustls = { version = "0.23", features = ["ring"] }
webpki-roots = "0.26"
# Cryptography
ring = "0.17"
aes-gcm = "0.10"
chacha20poly1305 = "0.10"
x25519-dalek = "2.0"
ed25519-dalek = "2.1"
sha2 = "0.10"
hmac = "0.12"
# Storage and serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
bincode = "1.3"
# Platform-specific
libc = "0.2"
# GPU (placeholder for future GPU support)
wgpu = { version = "0.20", optional = true }
# Error handling
thiserror = "1.0"
anyhow = "1.0"
# Logging
log = "0.4"
env_logger = "0.11"
# Async executor for wasmtime bindings
futures = "0.3"
# Random number generation
getrandom = { version = "0.2", features = ["std"] }
# Hex encoding for demo
hex = "0.4"
[features]
default = ["amd-sev"]
amd-sev = []
gpu = ["wgpu"]
component = ["wasmtime", "cargo-component"]
wasmtime = ["dep:wasmtime"]
[lib]
crate-type = ["cdylib", "rlib"]
[dev-dependencies]
tempfile = "3.21.0"
[package.metadata.component]
package = "elastic:tee-hal"
[package.metadata.component.dependencies]