factori-impl 1.1.0

You shouldn't use this crate directly. It's internal to factori.
Documentation
extern crate proc_macro;

mod create;
mod define;

use proc_macro2::Ident;

fn ident_builder(ty: &Ident) -> Ident {
    let ident = format!("_Factori_Builder_{}", ty);
    Ident::new(&ident, ty.span())
}

fn ident_mixins_enum(ty: &Ident) -> Ident {
    let ident = format!("_Factori_Mixins_{}", ty);
    Ident::new(&ident, ty.span())
}

#[proc_macro]
pub fn define(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
    define::define_macro(input)
}

#[proc_macro]
pub fn create(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
    create::create_macro(input)
}