| Crates.io | zencan-macro |
| lib.rs | zencan-macro |
| version | 0.0.1 |
| created_at | 2025-05-23 17:40:20.606412+00 |
| updated_at | 2025-10-29 19:53:57.794344+00 |
| description | Macro crate for zencan |
| homepage | |
| repository | https://github.com/mcbridejc/zencan |
| max_upload_size | |
| id | 1686557 |
| size | 12,515 |
Crate containing proc-macros for zencan. These are re-exported by zencan-node, so you probably do
not need to depend on this crate directly.
Cargo expand is useful for seeing the macro output:
cargo install cargo-expand
cargo expand --example record
When the output generates compile errors, you can do the following to get better errors:
cargo expand --example record > examples/expanded.rs
cargo build --example expanded