johannhof / pipeline.rs

:umbrella: => :partly_sunny: => :sunny:
Apache License 2.0
249 stars 7 forks source link

Oops I wrote it again #7

Open piegamesde opened 3 years ago

piegamesde commented 3 years ago

I started working on #6 and ran into a few other limitations of Rust's macro system. This kind of escalated, and I ended up re-implementing it as proc macro in the great lambda crate. But I think the macro fits better in here, so I copied the code over (:

The new style is undoubtedly different, but it's nice, simple and I really like it. A lot of the limitations like having to use braces and brackets no longer apply. See the cargo doc for more details.