This crate lets you invoke lcm-gen as part of a Cargo build script. It requires that you have lcm-gen on your PATH, and that it supports emitting Rust code with the --rust and --rust-path options.
lcm-gen
--rust
--rust-path