Skip to content

Commit 3ef9a7b

Browse files
committed
Bump toolchain to 1.76.0
We also need to fix the sqlite-bundled job to the yesterday nightly due to rust-lang/rust#120830
1 parent dfeec4b commit 3ef9a7b

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,9 @@ jobs:
420420
runs-on: ubuntu-latest
421421
steps:
422422
- uses: actions/checkout@v4
423-
- uses: dtolnay/rust-toolchain@nightly
423+
- uses: dtolnay/rust-toolchain@master
424424
with:
425+
toolchain: nightly
425426
components: "rust-src"
426427
- name: Cache cargo registry
427428
uses: Swatinem/rust-cache@v2

.github/workflows/doc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Publish documentation
4040
if: success()
41-
uses: JamesIves/github-pages-deploy-action@v4.2.5
41+
uses: JamesIves/github-pages-deploy-action@v4
4242
with:
4343
token: ${{ secrets.GITHUB_TOKEN }}
4444
branch: gh-pages # The branch the action should deploy to.

diesel/src/pg/types/json.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,13 @@ impl ToSql<sql_types::Jsonb, Pg> for serde_json::Value {
4646
}
4747
}
4848

49-
#[cfg(tests)]
49+
#[cfg(test)]
5050
mod tests {
51-
use crate::query_builder::bind_types::ByteWrapper;
51+
use crate::deserialize::FromSql;
52+
use crate::pg::{Pg, PgValue};
53+
use crate::query_builder::bind_collector::ByteWrapper;
54+
use crate::serialize::{Output, ToSql};
55+
use crate::sql_types;
5256

5357
#[test]
5458
fn json_to_sql() {

rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.75.0
1+
1.76.0

0 commit comments

Comments
 (0)