jfaixo / cargo-merge

A cargo subcommand to merge the source code of a crate into a single file.
MIT License
1 stars 1 forks source link

Add an option to remove tests from output #3

Open jfaixo opened 3 years ago

jfaixo commented 3 years ago

Add a CLI option that allows to remove inlined tests.

Consider the case when a module is declared as #[cfg(test)] in one file, and effective tests are declared in an other file.