A lightweight attribute macro for easily writing extension trait pattern.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 3 years ago
Remove deprecated old impl-level visibility syntax (#[ext(pub)]
).
Use pub impl
syntax instead:
- #[ext(pub)]
- impl Type {
+ #[ext]
+ pub impl Type {
fn method(&self) {}
}
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Support specifying visibility directly on impl
.
#[ext(Ext)]
pub impl Type {
fn method(&self) {}
}
pub impl Type {
^^^
The old impl-level visibility syntax (#[ext(pub)]
) will still be supported, but it is deprecated and will be removed in the next major version.
Migration:
- #[ext(pub)]
- impl Type {
+ #[ext]
+ pub impl Type {
fn method(&self) {}
}
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] almost 4 years ago
Published by github-actions[bot] almost 4 years ago
Published by github-actions[bot] almost 4 years ago
Published by taiki-e about 4 years ago
#[doc]
attributes) is now generated only for trait definitions. Previously it generated for both trait definition and trait implementation. See #20 for more details.Published by taiki-e over 4 years ago
Diagnostic improvements.
Published by taiki-e over 4 years ago
Published by taiki-e over 4 years ago
Published by taiki-e over 4 years ago
Published by taiki-e over 4 years ago
Published by taiki-e about 5 years ago
Published by taiki-e about 5 years ago
syn
and quote
to 1.0