Question for those who use @rustlang: is it acceptable to do network requests in a proc macro to fetch non crates.io dependencies needed for code gen? How would you do this otherwise? build.rs and store in target folder?
20% Sure ๐Ÿ˜€
80% No! ๐Ÿ˜ฉ
454 votes โ€ข Final results
16
3
2
12
Replying to @ryan_levick
imo no. Or should be possible to build in isolation. If you need deps like that, they should come from crates I think. And rule applies to build.rs too.

May 5, 2020 ยท 6:13 AM UTC