Pin most recent metrics alpha

This commit is contained in:
Jack Grigg 2020-11-25 19:56:52 +00:00
parent 6c85ad14a9
commit e5e6700e10
2 changed files with 3 additions and 3 deletions

View file

@ -36,6 +36,6 @@ harness = false
[dependencies]
subtle = "2.2.1"
crossbeam-utils = "0.7"
metrics = "0.13.0-alpha.8"
metrics = "=0.13.0-alpha.11"
num_cpus = "1.13"
rand = "0.7"

View file

@ -49,13 +49,13 @@ impl fmt::Display for ModelRecorder {
counters.sort_by(|(k1, _), (k2, _)| {
let key1 = (
k1.name(),
k1.name().to_string(),
k1.labels()
.map(|l| (l.key(), l.value()))
.collect::<Vec<_>>(),
);
let key2 = (
k2.name(),
k2.name().to_string(),
k2.labels()
.map(|l| (l.key(), l.value()))
.collect::<Vec<_>>(),