oasis-macros 0.2.0

Macros used internally by the Oasis framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![feature(proc_macro_diagnostic, type_ascription)]
#![recursion_limit = "128"]

extern crate proc_macro;
#[macro_use]
extern crate proc_quote;
#[macro_use]
extern crate syn;

use syn::spanned::Spanned as _;

// per rustc: "functions tagged with `#[proc_macro]` must currently reside in the root of the crate"
include!("utils.rs");
include!("default_attr.rs");
include!("event_derive.rs");
include!("service_derive.rs");