Skip to content

Commit

Permalink
Future proof Bencher Client
Browse files Browse the repository at this point in the history
  • Loading branch information
epompeii committed Dec 9, 2023
1 parent f127317 commit cb1eb25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ci-bench-runner/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ci-bench-runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
anyhow = "1.0.75"
askama = { version = "0.12.1", default-features = false }
axum = "0.6.20"
bencher_client = { git = "https://github.com/bencherdev/bencher", rev = "3a9945f" }
bencher_client = { git = "https://github.com/bencherdev/bencher", rev = "e4b22ed" }
hex = "0.4.3"
hmac = "0.12.1"
hyper = { version = "0.14.27", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions ci-bench-runner/src/bencher_dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::sync::Arc;

use bencher_client::json::project::measure::{INSTRUCTIONS_SLUG_STR, LATENCY_SLUG_STR};
use bencher_client::{
json::{DateTime, JsonMetric, JsonMetricsMap, JsonReport, JsonResultsMap, Measure},
json::{DateTime, JsonMetric, JsonMetricsMap, JsonCreated, JsonResultsMap, Measure},
types::{Adapter, JsonNewReport, JsonReportSettings},
BencherClient,
};
Expand Down Expand Up @@ -63,7 +63,7 @@ impl BencherDev {
let project_id = self.config.project_id.clone();
let project_id = &project_id;
let report = &report;
let _: JsonReport = self
let _: JsonCreated = self
.client
.send_with(
|client| async move {
Expand Down

0 comments on commit cb1eb25

Please sign in to comment.