diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-07 12:52:46 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-07 16:57:24 +0800 |
| commit | 32ee3596042cc4e723afd30b87298a13feef7c24 (patch) | |
| tree | 5d3bec726b5f93cc5a0e3f36ea76dd13ef2ec1ce /mingling_cli/src/lib.rs | |
| parent | b5e88fe3b188bf5fa50d022714863f018550ed8b (diff) | |
chore: move CLI entry to bin and restructure imports
Move the CLI binary from `src/main.rs` to `src/bin/cli.rs`
and move shared program generation into a new lib.rs module.
Diffstat (limited to 'mingling_cli/src/lib.rs')
| -rw-r--r-- | mingling_cli/src/lib.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mingling_cli/src/lib.rs b/mingling_cli/src/lib.rs new file mode 100644 index 0000000..8b25612 --- /dev/null +++ b/mingling_cli/src/lib.rs @@ -0,0 +1,13 @@ +use mingling::macros::gen_program; + +pub mod diagnostic; +pub mod errors; +pub mod linter; +pub mod lints; +pub mod message; +pub mod metadata; +pub mod pkg_mgr; +pub mod proj_mgr; +pub mod utils; + +gen_program!(); |
