From fa32332d7f4b40ff2a6f62858690a2760216e366 Mon Sep 17 00:00:00 2001 From: Emmanuel Thompson Date: Thu, 16 Jul 2020 10:59:30 -0400 Subject: [PATCH] fix: Update Estimates struct- Internal changes in criterion causes the key to no longer be PascalCase- slope field is now optional --- src/data.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/data.rs b/src/data.rs index d964254..b9021f4 100644 --- a/src/data.rs +++ b/src/data.rs @@ -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, pub std_dev: CStats, }