diff options
Diffstat (limited to 'mingling_core')
| -rw-r--r-- | mingling_core/Cargo.toml | 2 | ||||
| -rw-r--r-- | mingling_core/src/program/config.rs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mingling_core/Cargo.toml b/mingling_core/Cargo.toml index b13d3d3..83db3af 100644 --- a/mingling_core/Cargo.toml +++ b/mingling_core/Cargo.toml @@ -12,7 +12,7 @@ async = [] full = ["comp", "general_renderer"] -clap_parser = [] +clap = [] comp = ["dep:just_template"] debug = ["dep:log", "dep:env_logger"] general_renderer = [ diff --git a/mingling_core/src/program/config.rs b/mingling_core/src/program/config.rs index 78c6185..dcab526 100644 --- a/mingling_core/src/program/config.rs +++ b/mingling_core/src/program/config.rs @@ -7,12 +7,12 @@ pub struct ProgramStdoutSetting { /// Render results and output pub render_output: bool, - #[cfg(feature = "clap_parser")] + #[cfg(feature = "clap")] /// Behavior when Clap Dispatcher outputs help information pub clap_help_print_behaviour: ClapHelpPrintBehaviour, } -#[cfg(feature = "clap_parser")] +#[cfg(feature = "clap")] #[derive(Debug, Default, Clone)] pub enum ClapHelpPrintBehaviour { /// Write to RenderResult @@ -28,7 +28,7 @@ impl Default for ProgramStdoutSetting { ProgramStdoutSetting { error_output: true, render_output: true, - #[cfg(feature = "clap_parser")] + #[cfg(feature = "clap")] clap_help_print_behaviour: ClapHelpPrintBehaviour::default(), } } |
