diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-16 21:31:57 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-16 21:31:57 +0800 |
| commit | 363fbc6e98f832471a17a10ec18e8823df6a2ed5 (patch) | |
| tree | 98f71ab1796c1a9c1df411eee5174dd92001ef94 /src/main.rs | |
Initialize Rust project with billing calculation functionality
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..a97d952 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,23 @@ +use mingling::macros::gen_program; + +mod bill; +mod calc; +mod cli; +mod error; +mod who; + +#[cfg(test)] +mod test; + +#[tokio::main] +async fn main() { + cli::entry::entry().await +} + +use crate::cli::calc_cmd::*; +use crate::cli::dispatchers::*; +use crate::cli::entry::*; +use crate::cli::io_error::*; +use crate::cli::ops_cmd::*; + +gen_program!(); |
