-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (48 loc) · 1.26 KB
/
Cargo.toml
File metadata and controls
60 lines (48 loc) · 1.26 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
[package]
name = "clone"
version = "0.1.0"
edition = "2021"
description = "Minimal VMM for multi-tenant dev shells and serverless"
license = "MIT"
authors = ["Unix Shells Limited Company"]
[dependencies]
# async runtime
tokio = { version = "1", features = ["full"] }
# serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["json"] }
# error handling
anyhow = "1"
thiserror = "2"
# CLI
clap = { version = "4", features = ["derive"] }
# unix
libc = "0.2"
# cryptography — cross-platform
sha2 = "0.10"
# rust-vmm crates — Linux only (KVM)
[target.'cfg(target_os = "linux")'.dependencies]
kvm-ioctls = "0.19"
kvm-bindings = { version = "0.10", features = ["fam-wrappers"] }
vm-memory = { version = "0.16", features = ["backend-mmap"] }
linux-loader = { version = "0.13", features = ["bzimage", "elf"] }
virtio-queue = "0.14"
nix = { version = "0.29", features = ["fs", "ioctl", "mman", "net", "signal", "socket"] }
io-uring = { version = "0.7", optional = true }
[workspace]
members = [
".",
"crates/guest-agent",
"crates/clone-init",
]
[features]
default = []
io_uring = ["io-uring"]
[dev-dependencies]
tempfile = "3"
[[bin]]
name = "clone"
path = "src/main.rs"