batch-impl 0.8.2

A proc-macro library for batch generating trait impls with a powerful DSL
Documentation
1
2
3
4
5
6
7
8
use batch_impl::batch_impl;

// An `impl{...}` template holds a standard Rust type — DSL operators are
// rejected by syn parsing, not silently interpreted.
#[batch_impl(i32 impl{A^B})]
trait BadTemplate {}

fn main() {}