closure-pass is a crate for passing arguments to a closure with capture feature of C++ lambdas.
Usage
So far, this crate requires two nightly features: stmt_expr_attributes and proc_macro_hygiene. Usage is pretty straightforward, the following code:
let a = /*..*/;
let b = /*..*/;
Will expand to something like:
let a = /*..*/;
let b = /*..*/;