diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-19 05:54:00 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-19 06:15:20 +0800 |
| commit | ec9edc294fd5e7e29977fc7b0e6fb953422bc0e2 (patch) | |
| tree | bbf89ef4457b8de8a8a9bca5668045d612d27572 /mingling_ci/src/cmd/cmd_show_features.rs | |
| parent | 06dfc27194c11e1d1033c292c759a1c5d82e780b (diff) | |
Move CI, dev tools, and configs from root-level scattered locations into
a
unified `dev/` directory structure. Update all references across build
scripts, documentation, and editor configurations.
Also consolidate editor config generation into build.rs for automated
synchronization of rust-analyzer settings across VS Code and Zed.
Diffstat (limited to 'mingling_ci/src/cmd/cmd_show_features.rs')
| -rw-r--r-- | mingling_ci/src/cmd/cmd_show_features.rs | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/mingling_ci/src/cmd/cmd_show_features.rs b/mingling_ci/src/cmd/cmd_show_features.rs deleted file mode 100644 index 5fff0c5..0000000 --- a/mingling_ci/src/cmd/cmd_show_features.rs +++ /dev/null @@ -1,26 +0,0 @@ -use mingling::{ - Grouped, - macros::{buffer, command, r_println, renderer}, -}; - -use crate::res::ResFeatureList; - -#[command(node = "show-features")] -pub fn show_features(features: &ResFeatureList) -> ResultShowFeatures { - ResultShowFeatures { - features: features.list.clone(), - } -} - -/// The docs.rs feature list of `mingling`. -#[derive(Grouped)] -pub struct ResultShowFeatures { - pub features: Vec<String>, -} - -#[renderer(buffer)] -pub fn render_show_features(r: ResultShowFeatures) { - for feature in r.features { - r_println!("{feature}"); - } -} |
