Skip to content

Commit

Permalink
Merge pull request #170 from caibirdme/chore-upgrade-rust
Browse files Browse the repository at this point in the history
chore: upgrade rust to 1.82.0
  • Loading branch information
caibirdme authored Oct 23, 2024
2 parents 9d01c30 + ba7daed commit 249d7ad
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.80.1
toolchain: 1.82.0
profile: minimal
override: true
target: ${{ matrix.target }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.80.1
toolchain: 1.82.0
profile: minimal
override: true
target: ${{ matrix.target }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.80.1
toolchain: 1.82.0
profile: minimal
override: true
target: ${{ matrix.target }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.80.1
toolchain: 1.82.0
profile: minimal
override: true
- name: Install protoc
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "ltbridge"
version = "0.1.0"
edition = "2021"
rust-version = "1.80.0"
rust-version = "1.82.0"
authors = ["caibirdme <[email protected]>"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.80.1"
channel = "1.82.0"
targets = [ "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl" ]
profile = "default"
3 changes: 1 addition & 2 deletions src/storage/ck/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,8 @@ pub(crate) async fn send_query(
error!("fail to read ck response: {}", e);
e
})?;
let resp: RecordWarpper = serde_json::from_str(&res).map_err(|e| {
let resp: RecordWarpper = serde_json::from_str(&res).inspect_err(|_| {
error!("fail to parse ck response: {}", res);
e
})?;
Ok(resp.data)
}
Expand Down

0 comments on commit 249d7ad

Please sign in to comment.