From bf5aa81a2a905e39a57a54407f4b4f09020c271f Mon Sep 17 00:00:00 2001 From: Matthew Remmel Date: Sat, 13 Apr 2024 11:42:40 -0400 Subject: [PATCH] Add debug derive to BenchCli --- src/cli.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cli.rs b/src/cli.rs index fb36f31..c35d995 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -97,7 +97,7 @@ use crate::{ runner::{BenchOpts, BenchSuite, Runner}, }; -#[derive(Parser, Clone, Copy)] +#[derive(Parser, Clone, Copy, Debug)] #[allow(missing_docs)] pub struct BenchCli { /// Number of workers to run concurrently @@ -164,7 +164,7 @@ impl BenchCli { } /// The type of iteration report collector. -#[derive(Copy, Clone, ValueEnum)] +#[derive(Copy, Clone, Debug, ValueEnum)] pub enum Collector { /// TUI based collector. See [`TuiCollector`]. Tui, @@ -174,7 +174,7 @@ pub enum Collector { } /// Benchmark report format. -#[derive(Copy, Clone, ValueEnum)] +#[derive(Copy, Clone, Debug, ValueEnum)] pub enum ReportFormat { /// Report in plain text format. See [`TextReporter`]. Text,