Skip to content

Commit 566ed03

Browse files
authored
Merge pull request #2273 from Kobzol/bump-msrv
Bump MSRV to 1.88.0
2 parents a5eb3ac + d747d90 commit 566ed03

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
rustup default $RUST_TOOLCHAIN_VERSION
3838
rustup component add --toolchain $RUST_TOOLCHAIN_VERSION rustfmt clippy
3939
env:
40-
RUST_TOOLCHAIN_VERSION: 1.85.0
40+
RUST_TOOLCHAIN_VERSION: 1.88.0
4141

4242
- uses: Swatinem/rust-cache@v2
4343
with:

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ members = ["collector", "collector/benchlib", "site", "database", "intern"]
33
exclude = ["rust/src"]
44
resolver = "2"
55

6+
[workspace.package]
7+
rust-version = "1.88.0"
8+
69
[workspace.dependencies]
710
anyhow = "1"
811
chrono = "0.4"

collector/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name = "collector"
44
version = "0.1.0"
55
edition = "2021"
66
description = "Collects Rust performance data"
7-
rust-version = "1.85.0"
7+
rust-version = { workspace = true }
88

99
[dependencies]
1010
anyhow = { workspace = true }

database/src/pool.rs

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,17 +1063,12 @@ mod tests {
10631063
tokio::time::sleep(Duration::from_millis(100)).await;
10641064

10651065
requests.push(
1066-
RequestBuilder::master(
1067-
db,
1068-
&format!("sha{}", id),
1069-
&format!("sha{}", id - 1),
1070-
id,
1071-
)
1072-
.await
1073-
.add_job(db, job())
1074-
.await
1075-
.complete(db, &collector)
1076-
.await,
1066+
RequestBuilder::master(db, &format!("sha{id}"), &format!("sha{}", id - 1), id)
1067+
.await
1068+
.add_job(db, job())
1069+
.await
1070+
.complete(db, &collector)
1071+
.await,
10771072
);
10781073
}
10791074

database/src/selector.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
//!
66
//! * :benchmark/:profile/:scenario/:metric => [cid => u64]
77
//! * :crate/:profile/:scenario/:self_profile_query/:stat (SelfProfileTime, SelfProfileCacheHits, ...)
8-
//! :stat = time => Duration,
9-
//! :stat = cache hits => u32,
10-
//! :stat = invocation count => u32,
11-
//! :stat = blocked time => Duration,
12-
//! :stat = incremental load time => Duration,
8+
//! :stat = time => Duration,
9+
//! :stat = cache hits => u32,
10+
//! :stat = invocation count => u32,
11+
//! :stat = blocked time => Duration,
12+
//! :stat = incremental load time => Duration,
1313
//!
1414
//! Note that the returned series always have a "simple" type of a small set --
1515
//! things like arrays, integers. We aggregate into higher level types above the

site/src/server.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,7 @@ async fn serve_req(server: Server, req: Request) -> Result<Response, ServerError
567567
}
568568
}
569569

570+
#[allow(clippy::result_large_err)]
570571
fn parse_body<D>(body: &[u8]) -> Result<D, Response>
571572
where
572573
D: DeserializeOwned,
@@ -590,6 +591,7 @@ where
590591
}
591592
}
592593

594+
#[allow(clippy::result_large_err)]
593595
fn parse_query_string<D>(uri: &http::Uri) -> Result<D, Response>
594596
where
595597
D: DeserializeOwned,

0 commit comments

Comments
 (0)