Calculate averages correctly and preserve totals like before (#429)

* Reset totals after avg calculation

* like it used to be
This commit is contained in:
Lev Kokotov
2023-05-08 10:06:16 -07:00
committed by GitHub
parent 159eb89bf0
commit 571b02e178
3 changed files with 54 additions and 13 deletions

16
Cargo.lock generated
View File

@@ -250,6 +250,12 @@ dependencies = [
"subtle",
]
[[package]]
name = "either"
version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
[[package]]
name = "enum-as-inner"
version = "0.5.1"
@@ -658,6 +664,15 @@ dependencies = [
"windows-sys",
]
[[package]]
name = "itertools"
version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
dependencies = [
"either",
]
[[package]]
name = "itoa"
version = "1.0.5"
@@ -897,6 +912,7 @@ dependencies = [
"futures",
"hmac",
"hyper",
"itertools",
"jemallocator",
"log",
"md-5",