Alias event as report

This alias is made so people with OpenSMTPD filters knowledge will
directly understand that events are reports.
This commit is contained in:
Rodolphe Breard 2019-01-17 20:05:31 +01:00
parent ae8b64941e
commit c20fadf99d
3 changed files with 10 additions and 5 deletions

View file

@ -64,3 +64,8 @@ pub fn event(attr: TokenStream, input: TokenStream) -> TokenStream {
};
output.into()
}
#[proc_macro_attribute]
pub fn report(attr: TokenStream, input: TokenStream) -> TokenStream {
event(attr, input)
}