noshell_macros/lib.rs
1//! noshell Parser.
2
3#![deny(missing_docs)]
4
5use proc_macro::TokenStream;
6
7mod arg;
8mod attr;
9mod derive;
10mod helpers;
11mod ty;
12
13/// `Parser` derive macro.
14#[proc_macro_derive(Parser, attributes(arg))]
15pub fn derive_parser(item: TokenStream) -> TokenStream {
16 derive::run(item.into()).into()
17}