Crate cgp_field_macro_lib

Crate cgp_field_macro_lib 

Source
Expand description

This is an internal crate used by the cgp-field-macro crate. We implement the proc macros for cgp-field as a library, so that it can be more easily tested. The constructs are then re-exported as proc macros in the cgp-field-macro crate, which is defined as a proc macro crate.

Re-exports§

pub use field::derive_fields;
pub use product::make_product_expr;
pub use product::make_product_type;
pub use product::make_sum_type;
pub use symbol::make_symbol;

Modules§

field
product
symbol