Attribute Macrosยง
- ver
- The main attribute macro to annotate functions, structs, etc. with versioning information. It is able to record multiple version entries, each separated by a semicolon. Where if the last version is marked as deprecated, it will generate a #[deprecated] attribute to warn users.