feat(harmony): enhance PhysicalHost with builder methods and update dependencies

- Added builder methods to `PhysicalHost` for configuring CPU, memory size, storage, MAC address, labels, and management interface.
- Updated the edition of various Cargo.toml files to 2024.
- Implemented workspace inheritance for version, readme, and license fields in Cargo.toml files.
This commit is contained in:
2025-02-01 11:45:04 -05:00
parent 0cfd5dc89e
commit 3eac78c6d3
12 changed files with 132 additions and 74 deletions

66
harmony-rs/Cargo.lock generated
View File

@@ -794,6 +794,38 @@ dependencies = [
"windows-sys 0.52.0",
]
[[package]]
name = "example-kube-rs"
version = "0.1.0"
dependencies = [
"cidr",
"env_logger",
"harmony",
"harmony_macros",
"http 1.2.0",
"k8s-openapi",
"kube",
"log",
"serde_yaml",
"tokio",
"url",
]
[[package]]
name = "example-opnsense"
version = "0.1.0"
dependencies = [
"cidr",
"env_logger",
"harmony",
"harmony_macros",
"harmony_tui",
"harmony_types",
"log",
"tokio",
"url",
]
[[package]]
name = "eyre"
version = "0.6.12"
@@ -1101,7 +1133,7 @@ dependencies = [
[[package]]
name = "harmony_macros"
version = "1.0.0"
version = "0.1.0"
dependencies = [
"harmony_types",
"quote",
@@ -1127,7 +1159,7 @@ dependencies = [
[[package]]
name = "harmony_types"
version = "1.0.0"
version = "0.1.0"
[[package]]
name = "hashbrown"
@@ -3282,23 +3314,6 @@ dependencies = [
"windows-sys 0.59.0",
]
[[package]]
name = "test-kube-rs"
version = "0.1.0"
dependencies = [
"cidr",
"env_logger",
"harmony",
"harmony_macros",
"http 1.2.0",
"k8s-openapi",
"kube",
"log",
"serde_yaml",
"tokio",
"url",
]
[[package]]
name = "thiserror"
version = "1.0.63"
@@ -3687,19 +3702,6 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65"
[[package]]
name = "vbox-opnpsense"
version = "0.1.0"
dependencies = [
"cidr",
"env_logger",
"harmony",
"harmony_macros",
"log",
"tokio",
"url",
]
[[package]]
name = "vcpkg"
version = "0.2.15"