noshell-macros 0.5.0

noshell, a no_std argument parser and a shell for constrained systems.
Documentation
//! noshell Parser.

#![deny(missing_docs)]

use proc_macro::TokenStream;

mod arg;
mod attr;
mod derive;
mod ty;

#[cfg(test)]
mod tests;

/// `Parser` derive macro.
#[proc_macro_derive(Parser, attributes(arg))]
pub fn derive_parser(item: TokenStream) -> TokenStream {
    derive::run(item.into()).into()
}