feat(harmony_macros): add yaml macro to validate YAML input

- Introduced a new `yaml` macro in `harmony_macros` that validates if the provided YAML string is valid by attempting to deserialize it using `serde_yaml`.
- Added dependencies on `serde`, `serde_yaml` for handling YAML deserialization.
- Included dev dependencies with features enabled for deriving types from `serde`.
This commit is contained in:
2025-01-22 10:21:08 -05:00
parent 2041ce63d7
commit d8c762e9df
5 changed files with 861 additions and 33 deletions

View File

@@ -14,3 +14,6 @@ log = { workspace = true }
env_logger = { workspace = true }
url = { workspace = true }
kube = "0.98.0"
k8s-openapi = { version = "0.24.0", features = [ "v1_30" ] }
http = "1.2.0"
serde_yaml = "0.9.34"