refact: Move basic types to harmony_types crate to avoid external dependencies.

This includes Id, IpAddress, Url and some other heavily used types
This commit is contained in:
2025-08-30 17:52:02 -04:00
parent cb4382fbb5
commit f9906cb419
69 changed files with 274 additions and 165 deletions

8
Cargo.lock generated
View File

@@ -1671,6 +1671,7 @@ dependencies = [
"env_logger",
"harmony",
"harmony_cli",
"harmony_types",
"logging",
"tokio",
"url",
@@ -1732,6 +1733,7 @@ dependencies = [
"harmony",
"harmony_cli",
"harmony_macros",
"harmony_types",
"tokio",
"url",
]
@@ -1743,6 +1745,7 @@ dependencies = [
"cidr",
"harmony",
"harmony_cli",
"harmony_types",
"tokio",
"url",
]
@@ -2293,7 +2296,6 @@ dependencies = [
"opnsense-config",
"opnsense-config-xml",
"pretty_assertions",
"rand 0.9.1",
"reqwest 0.11.27",
"russh",
"rust-ipmi",
@@ -2437,7 +2439,9 @@ dependencies = [
name = "harmony_types"
version = "0.1.0"
dependencies = [
"rand 0.9.1",
"serde",
"url",
]
[[package]]
@@ -3849,7 +3853,7 @@ dependencies = [
"env_logger",
"log",
"pretty_assertions",
"rand 0.8.5",
"rand 0.9.1",
"serde",
"thiserror 2.0.14",
"tokio",