Closed crlf0710 closed 4 years ago
There are already at least three such projects:
Though, none of them are maintained anymore as far as I see.
I'll give this a close as it seems this already exists. I would recommend filing feature requests on one of those existing projects as needed. Thanks!
A crate maybe called cargo-fuse, that can read all modules within a crate, and "fuse" them into a single
.rs
file. It'll be great if it can also generate the header describing the dependencies, something existing tools likecargo-script
needs.