Pure Rust crates to single blah.rs file?

#1

Are there any existing tools that can take a pure rust crate and concatenate it into a single blah.rs file ?

This is for attaching dependencies to rust playground when the dependency is not supported.

0 Likes

#2

cargo expand does something like that, but it also expands macros so the result is not very readable.

0 Likes