1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
//! Custom derive support for the `abscissa` microframework.

#![crate_type = "proc-macro"]
#![deny(warnings, unsafe_code, unused_import_braces, unused_qualifications)]
#![forbid(unsafe_code)]
#![doc(
    html_logo_url = "https://www.iqlusion.io/img/github/iqlusioninc/abscissa/abscissa-sq.svg",
    html_root_url = "https://docs.rs/abscissa_derive/0.1.0-rc.0"
)]

extern crate proc_macro;

mod command;
mod config;
mod runnable;

use synstructure::decl_derive;

decl_derive!([Command]  => command::derive_command);
decl_derive!([Config]   => config::derive_config);
decl_derive!([Runnable] => runnable::derive_runnable);