mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-06 20:20:34 +00:00
Pin most recent metrics alpha
This commit is contained in:
parent
6c85ad14a9
commit
e5e6700e10
2 changed files with 3 additions and 3 deletions
|
|
@ -36,6 +36,6 @@ harness = false
|
||||||
[dependencies]
|
[dependencies]
|
||||||
subtle = "2.2.1"
|
subtle = "2.2.1"
|
||||||
crossbeam-utils = "0.7"
|
crossbeam-utils = "0.7"
|
||||||
metrics = "0.13.0-alpha.8"
|
metrics = "=0.13.0-alpha.11"
|
||||||
num_cpus = "1.13"
|
num_cpus = "1.13"
|
||||||
rand = "0.7"
|
rand = "0.7"
|
||||||
|
|
|
||||||
|
|
@ -49,13 +49,13 @@ impl fmt::Display for ModelRecorder {
|
||||||
|
|
||||||
counters.sort_by(|(k1, _), (k2, _)| {
|
counters.sort_by(|(k1, _), (k2, _)| {
|
||||||
let key1 = (
|
let key1 = (
|
||||||
k1.name(),
|
k1.name().to_string(),
|
||||||
k1.labels()
|
k1.labels()
|
||||||
.map(|l| (l.key(), l.value()))
|
.map(|l| (l.key(), l.value()))
|
||||||
.collect::<Vec<_>>(),
|
.collect::<Vec<_>>(),
|
||||||
);
|
);
|
||||||
let key2 = (
|
let key2 = (
|
||||||
k2.name(),
|
k2.name().to_string(),
|
||||||
k2.labels()
|
k2.labels()
|
||||||
.map(|l| (l.key(), l.value()))
|
.map(|l| (l.key(), l.value()))
|
||||||
.collect::<Vec<_>>(),
|
.collect::<Vec<_>>(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue