Crate docify_macros
source ·Expand description
This crate contains the proc macros used by docify.
Macros
- Embeds the specified item from the specified source file in a rust doc example, with pretty formatting enabled.
- Exactly like
docify::embed!(..)in every way except the generated examples are also run automatically as rust doc examples (ignoreis not included).
Attribute Macros
- Marks an item for export, making it available for embedding as a rust doc example via
docify::embed!(..)ordocify::embed_run!(..).