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
//! ArcBox - High-performance container and VM runtime.
//!
//! This crate provides a unified API for the ArcBox runtime, re-exporting
//! functionality from the core crates.
//!
//! # Architecture
//!
//! This crate currently re-exports selected ArcBox foundational crates:
//!
//! - **Hypervisor**: Platform abstraction for virtualization (macOS/Linux)
//! - **VirtIO**: Virtual device implementations (block, net, fs, console)
//! - **Protocol**: Protobuf message and service definitions
//!
//! # Example
//!
//! ```ignore
//! use arcbox::{protocol, version};
//!
//! let _ = protocol::v1::Empty {};
//! println!("arcbox facade version: {}", version());
//! ```
// Re-export core crates (available in this version)
pub use arcbox_hypervisor as hypervisor;
pub use arcbox_protocol as protocol;
pub use arcbox_virtio as virtio;
// TODO: uncomment after publishing these crates
// pub use arcbox_container as container;
// pub use arcbox_core as core;
// pub use arcbox_fs as fs;
// pub use arcbox_net as net;
// pub use arcbox_vmm as vmm;
/// Prelude module for common imports.
/// Returns the version of ArcBox.