rustsourcebundler 0.14.1

Bundle the source code of a rust cargo crate in a single source file
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod usecrate {
pub mod submod1 {
pub fn hello_world1() {
    println!("Hello, world 1!");
}
}
pub mod submod2 {
use super::submod1;
pub fn hello_world2() {
    submod1::hello_world1();
    println!("Hello, world 2!");
}
}
}
use self::usecrate::submod2::hello_world2;
fn main() {
    hello_world2();
}