- 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`. |
||
|---|---|---|
| .. | ||
| demo | ||
| harmony | ||
| harmony_macros | ||
| harmony_types | ||
| opnsense-config | ||
| opnsense-config-xml | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
Due to the current setup being a mix of separate repositories with gitignore and rust workspace, a few options are required for cargo-watch to have the desired behavior :
RUST_LOG=info cargo watch --ignore-nothing -w harmony -w private_repos/ -x 'run --bin nationtech'
This will run the nationtech bin (likely private_repos/nationtech/src/main.rs) on any change in the harmony or private_repos folders.