| Crates.io | zencan-build |
| lib.rs | zencan-build |
| version | 0.0.3 |
| created_at | 2025-05-23 18:40:48.462034+00 |
| updated_at | 2026-01-20 19:56:10.69572+00 |
| description | Library for generating code for zencan-node crate |
| homepage | |
| repository | https://github.com/mcbridejc/zencan |
| max_upload_size | |
| id | 1686603 |
| size | 92,102 |
Library crate to generate object dictionary rust code from an input device configuration file. Used to generate static objects for use with zencan-node crate.
When the generated code is not syntactically correct rust code, prettyplease generates errors which are less than helpful for determining the cause of the error. In this case, rustfmt provides a much better output, so:
cargo run --example build_od -- CONFIG_FILE.toml > temp.rs, and then
rustfmt temp.rs