This commit is contained in:
2025-07-14 13:53:01 +04:00
parent 758e59e921
commit 7856fc0a4e
7 changed files with 367 additions and 0 deletions

37
zos/Cargo.toml Normal file
View File

@@ -0,0 +1,37 @@
[package]
name = "zos-slicer"
version = "0.1.0"
edition = "2021"
authors = ["PlanetFirst <info@incubaid.com>"]
description = "ZOS Talos Slicer - VM provisioning tool for Talos OS with Cloud Hypervisor"
[[bin]]
name = "talos-slicer"
path = "src/main.rs"
[dependencies]
# CLI and argument parsing
clap = { version = "4.0", features = ["derive"] }
# System information
sysinfo = "0.30"
# Network utilities
ipnetwork = "0.20"
# Error handling
anyhow = "1.0"
thiserror = "2.0"
# Serialization for Talos config
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
# UUID generation
uuid = { version = "1.0", features = ["v4"] }
# SAL dependencies (relative paths)
sal-os = { path = "../os" }
sal-process = { path = "../process" }
sal-net = { path = "../net" }