[package]
edition = "2024"
rust-version = "1.85"
name = "arcbox-hypervisor"
version = "0.4.9"
authors = [
"ArcBox Labs <team@arcbox.dev>",
"AprilNEA <dev@aprilnea.me> (https://aprilnea.me)",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform hypervisor abstraction layer for ArcBox"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/arcboxlabs/arcbox"
[features]
default = []
[lib]
name = "arcbox_hypervisor"
path = "src/lib.rs"
[[bin]]
name = "arcbox-boot"
path = "src/bin/arcbox-boot.rs"
[[bin]]
name = "arcbox-perf"
path = "src/bin/arcbox-perf.rs"
[[test]]
name = "dirty_tracking_test"
path = "tests/dirty_tracking_test.rs"
[[test]]
name = "snapshot_test"
path = "tests/snapshot_test.rs"
[[test]]
name = "vcpu_e2e_test"
path = "tests/vcpu_e2e_test.rs"
[[test]]
name = "vcpu_integration_test"
path = "tests/vcpu_integration_test.rs"
[[test]]
name = "vm_boot_test"
path = "tests/vm_boot_test.rs"
[dependencies.arcbox-error]
version = "0.4.9"
[dependencies.clap]
version = "4"
features = [
"derive",
"derive",
]
[dependencies.ctrlc]
version = "3.4"
[dependencies.libc]
version = "0.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"full",
"tracing",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
"tracing-log",
]
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"tracing",
]
[target.'cfg(target_os = "linux")'.dependencies.nix]
version = "0.29"
features = ["ioctl"]
[target.'cfg(target_os = "macos")'.dependencies.arcbox-vz]
version = "0.4.9"
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
[target.'cfg(target_os = "macos")'.build-dependencies]
[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
if_not_else = "allow"
items_after_statements = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
wildcard_imports = "allow"
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]