For WebGL, and general "web stuff", I think we could cave and use `wasm_pack`, and the associated proc_macro and such.