yule_log_macros
Derive macros for the yule_log ULOG parser.
Features
-
#[derive(ULogData)]: Maps ULOG subscriptions directly into your structs.
-
#[derive(ULogMessages)]: Aggregates your structs into a single streaming interface.
-
Forward unknown messages: Capture raw ULOG messages via #[yule_log(forward_other)].
-
Memory Efficient: Preserves the streaming nature of the yule_log parser.
Quickstart
For more information, see: yule_log.
Cargo.toml
= { = "0.3", = ["macros"] }
Define mappings
Create an enum
Iterate over data
let stream = stream?;
for msg_res in stream
License
This project is licensed under the MIT Licence.