Create a library entrypoint 'src/lib.rs' and refactor binary entrypoint 'src/main.rs' accordingly.
11 lines
253 B
Rust
11 lines
253 B
Rust
#![allow(unused)]
|
|
|
|
pub mod cli;
|
|
pub mod scripts;
|
|
|
|
// NOTE: stolen from https://docs.rs/debug_print/latest/debug_print/
|
|
#[macro_export]
|
|
macro_rules! debug_println {
|
|
($($arg:tt)*) => (if ::std::cfg!(debug_assertions) { ::std::println!($($arg)*); })
|
|
}
|