dtolnay / request-for-implementation

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

A crate to inline all modules into a single file. #39

Closed crlf0710 closed 4 years ago

crlf0710 commented 5 years ago

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 like cargo-script needs.

frol commented 5 years ago

There are already at least three such projects:

Though, none of them are maintained anymore as far as I see.

dtolnay commented 4 years ago

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!