privacy-scaling-explorations / mpz

Multi-party computation libraries written in Rust 🦀
201 stars 44 forks source link

feat(mpz-common): scoped! macro #143

Closed sinui0 closed 5 months ago

sinui0 commented 5 months ago

This PR adds a scoped! macro which makes it easy to write closures which return scoped futures. This macro may end up being preferable to using the join and try_join macros.

sinui0 commented 5 months ago

I look forward to the resolution of https://github.com/rust-lang/rust/issues/70263 which will let us get rid of this and associated utilities.