I wanted to mention that this reminds me of the old Delegation RFC, which some of us didn't like, exactly because it felt like a problem for proc-macros to solve. It eventually got postponed.
But then, the delegation terminology is used in hereditary
, so you're probably aware of all that already ;)
Anyway, other crates like delegate
, ambassador
and portrait
are mentioned in the latest comments below that RFC. I wanted to quickly check how many dependants each one of those have, but https://crates.io can't do that at the moment. Nice error message though!
Unfortunately, I have no time to check what kind of code each one of them crates generates, so I have nothing of value to add.