dtolnay / request-for-implementation

Crates that don't exist, but should
610 stars 6 forks source link

A proc macro that automatically generates a sync version for an async function. #41

Closed crlf0710 closed 4 years ago

crlf0710 commented 5 years ago

Thus workaround the "what color is your function" problem.

dtolnay commented 4 years ago

Could you write up a brief example of what you would like for the caller to write and exactly what it should expand to?

crlf0710 commented 4 years ago

Admittedly i've not got enough knowledge to come up with a design on this... I hope others can come up with a detailed design.

dtolnay commented 4 years ago

I'd like to keep this repo focused just on ideas that are blocked on implementation work and not design work, so I will go ahead and close this for now. Let's follow up once there is a more fleshed out design for what you want.