Skip to content

Commit

Permalink
feat: Add debug derive to BenchCli (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattremmel authored Apr 14, 2024
1 parent 08f0bcd commit 26208b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 26208b8

Please sign in to comment.