Sometimes users want to see the code the generate_api! macro produces. cargo-expand works, but it expands a lot of stuff. I think it would be useful to have an environment variable one could set that would result in the macro output landing in some file to examine after the build.
Sometimes users want to see the code the
generate_api!macro produces.cargo-expandworks, but it expands a lot of stuff. I think it would be useful to have an environment variable one could set that would result in the macro output landing in some file to examine after the build.