embed-doc-image
embed-doc-image copied to clipboard
Embed images in Rust documentation
Hi, I've noticed there isn't a support for enums. This item is an enhancement request to introduce support for enum types.
Does the macro get expanded when doing a standard `cargo build`? That would be a lot of processing for something that will be thrown away when producing a binary. Or,...
Currently, `syn` is only necessary for the `embed_doc_image` attribute. Although the `#[embed_doc_image]` also works on older Rust versions, it seems like a reasonable trade-off to only be able to generate...