7 unstable releases (3 breaking)

0.4.2 Sep 20, 2020
0.4.1 Sep 20, 2020
0.3.0 Sep 20, 2020
0.2.1 Sep 20, 2020
0.1.0 Sep 17, 2020

#680 in Cargo plugins

Custom license

12KB
283 lines

cargo-concat

Crates.io GitHub

This tool allows you to put all the modules you use in the executable file into one file.

Install

cargo install cargo-concat

Usage

In your Cargo project directory, you can hit the following command to generate a concatenated file.

cargo concat --bin main --output out.rs

Dependencies

~5–15MB
~164K SLoC