-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (53 loc) · 1.69 KB
/
Copy pathCargo.toml
File metadata and controls
69 lines (53 loc) · 1.69 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
[package]
name = "vm-rs"
version = "0.2.4"
edition = "2021"
description = "Cross-platform VM lifecycle management — Apple Virtualization.framework (macOS) + Cloud Hypervisor (Linux)"
license = "MIT"
keywords = ["virtualization", "vm", "apple-vz", "cloud-hypervisor", "microvm"]
categories = ["virtualization", "os"]
[dependencies]
# Async runtime
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time", "sync", "process", "net", "fs", "io-util"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Error handling
thiserror = "2"
anyhow = "1"
# Logging
tracing = "0.1"
# HTTP client (OCI registry, Cloud Hypervisor REST API)
reqwest = { version = "0.12", features = ["stream", "rustls-tls", "json"], default-features = false }
# Futures
futures-util = "0.3"
# Compression (OCI layers, kernel)
flate2 = "1"
# Hashing (OCI digests)
sha2 = "0.10"
# Tar archive (OCI layer extraction)
tar = "0.4"
# Process management + Unix primitives
libc = "0.2"
# Progress reporting (asset downloads)
indicatif = "0.17"
# macOS: Apple Virtualization.framework (FFI absorbed from virtualization-rs)
[target.'cfg(target_os = "macos")'.dependencies]
block = "0.1"
objc = "0.2"
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.62", features = [
"Win32_Foundation",
"Win32_System_Hypervisor",
"Win32_System_Memory",
] }
[dev-dependencies]
tempfile = "3"
tokio-test = "0.4"
[lints.rust]
unused_must_use = "deny"
# The `objc` 0.2 crate's msg_send!/class! macros emit cfg(feature = "cargo-clippy")
# which triggers unexpected_cfgs on modern Rust. Suppress until we migrate to objc2.
unexpected_cfgs = "allow"
[lints.clippy]
unwrap_used = "warn"