Skip to content

Commit

Permalink
fix: update for latest criterion
Browse files Browse the repository at this point in the history
Update Estimates struct- Internal changes in criterion causes the key
to no longer be PascalCase- slope field is now optional.

PR #6
  • Loading branch information
sharksforarms authored Sep 24, 2020
1 parent 83040b4 commit 408eff1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,11 @@ pub struct CThroughput {
}

#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(rename_all = "PascalCase")]
pub struct CEstimates {
pub mean: CStats,
pub median: CStats,
pub median_abs_dev: CStats,
pub slope: CStats,
pub slope: Option<CStats>,
pub std_dev: CStats,
}

Expand Down

0 comments on commit 408eff1

Please sign in to comment.