j1939-macros
Procedural macros for the j1939-rs library.
Note on std Usage
This crate uses the standard library (std) and does not have #![no_std].
This is intentional and correct:
- Proc macros run at compile time on the developer's machine, not on the embedded target
- The Rust compiler requires proc macro crates to use
std - Dynamic allocations (Vec, String, HashMap) are used during code generation
- This code never runs on the embedded system
The generated code from these macros is fully no_std compatible and runs on embedded
targets without heap allocation. See the j1939-rs crate documentation for details on
embedded system support.