diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-06 17:02:36 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-09 02:56:28 +0800 |
| commit | 31dd2cf8e862cd71192869784d3a84849edba636 (patch) | |
| tree | 212a7c04e0133f2dfff80cad31e39c7423e22fcc /mingling_cli/Cargo.lock | |
| parent | d11c9df9478ac936d1a5d9373d517825807efcbd (diff) | |
feat(cli): implement `explain` command and add JSON structural rendering
Add a new `explain <LINT>` command that queries the embedded lint
registry (generated by `build.rs`) and displays detailed information
about a specifoic lint, including its name, title, summary, active-on
target, default setting, and author.
Enable the `structural_renderer` feature and add `serde`/`serde_json`
dependencies to support JSON output rendering for command results.
Diffstat (limited to 'mingling_cli/Cargo.lock')
| -rw-r--r-- | mingling_cli/Cargo.lock | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mingling_cli/Cargo.lock b/mingling_cli/Cargo.lock index 8f16e57..2a6e744 100644 --- a/mingling_cli/Cargo.lock +++ b/mingling_cli/Cargo.lock @@ -277,6 +277,7 @@ dependencies = [ "arg-picker", "mingling_core", "mingling_macros", + "serde", ] [[package]] @@ -304,6 +305,8 @@ dependencies = [ "just_template", "might_be_async", "mingling_pathf", + "serde", + "serde_json", ] [[package]] |
