Crates.io | rust-cef-derive |
lib.rs | rust-cef-derive |
version | 0.2.6 |
source | src |
created_at | 2020-07-15 14:53:45.049639 |
updated_at | 2021-12-23 04:21:01.949995 |
description | Macros to derive the ToCef trait implementation for any struct as well as macros to annotate members to map to various CEF headers or key-value pairs. This enables having a structured representation inside Rust to be serialized as CEF log entries that can be written to log files or syslog. |
homepage | |
repository | https://github.com/polyverse/rust-cef/rust-cef-macros |
max_upload_size | |
id | 265443 |
size | 82,169 |
This crate provides #[derive()]
macros to derive the Common Event Format generating traits in Rust
items like Structs and Enums.
The test file demonstrates some sample usage. Documentation is severely lacking for the moment.