expand-mod

Crates.ioexpand-mod
lib.rsexpand-mod
version0.1.0
sourcesrc
created_at2024-08-29 16:18:30.988494
updated_at2024-08-29 16:18:30.988494
descriptionExpand `mod module_name;` in `.rs` files and combine the module tree consisting of multiple files into a single file.
homepage
repositoryhttps://github.com/frozenlib/expand-mod
max_upload_size
id1356407
size50,867
frozenlib (frozenlib)

documentation

README

expand-mod

Crates.io Actions Status

Expand mod module_name; in .rs files and combine the module tree consisting of multiple files into a single file.

Install

cargo install expand-mod

Usage

expand-mod path_to_src/lib.rs > path_to_output.rs

or

expand-mod path_to_src/lib.rs --clipbaord

Command line options

option description
--clipboard Copy the result to the clipboard instead of stdout.

License

This project is dual licensed under Apache-2.0/MIT. See the two LICENSE-* files for details.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 0

cargo fmt