Skip to content

Commit 89d11a6

Browse files
Sharang Parnerkarlszetg
andauthored
feat: Update Cargo.toml (#231)
Co-authored-by: l.szczepanski <l.szczepanski@etogruppe.com>
1 parent fc7b1de commit 89d11a6

5 files changed

Lines changed: 20 additions & 17 deletions

File tree

.clippy.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# affects `unwrap_used` and `expect_used` lints
22
allow-unwrap-in-tests = true
33
allow-expect-in-tests = true
4+
allow-mixed-uninlined-format-args = true
45

56
# Without this we get a linting warning about the `sdk::error::Error` type that is 128 bytes.
67
# To avoid it we raise the threshold from 128 (default) to 129 bytes

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
runs-on: ubuntu-latest
7676
steps:
7777
- uses: actions/checkout@v4
78-
- uses: dtolnay/rust-toolchain@stable
78+
- uses: dtolnay/rust-toolchain@1.85.1
7979
- uses: Swatinem/rust-cache@v2
8080

8181
- name: Install Protoc
@@ -85,7 +85,9 @@ jobs:
8585
repo-token: ${{ secrets.GITHUB_TOKEN }}
8686

8787
- name: Check for clippy warnings
88-
run: cargo clippy --all-targets --all-features --color always -- -D warnings
88+
run: |
89+
rustup component add clippy
90+
cargo clippy --all-targets --all-features --color always -- -D warnings
8991
9092
unit-tests-coverage:
9193
runs-on: ubuntu-latest

Cargo.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ members = [
2121
resolver = "2"
2222

2323
[workspace.package]
24-
version = "0.16.0"
24+
version = "0.16.1"
2525
edition = "2024"
2626
authors = ["Team Lobster 🦞"]
2727
license = "AGPL-3.0-only"
@@ -51,8 +51,8 @@ expect_used = "deny"
5151

5252
# Specify versions for shared dependencies
5353
[workspace.dependencies]
54-
api_types = { package = "etopay-api-types", version = "0.16.0", path = "./api_types" }
55-
etopay_wallet = { package = "etopay-wallet", version = "0.16.0", path = "./crates/etopay-wallet" }
54+
api_types = { package = "etopay-api-types", version = "0.16.1", path = "./api_types" }
55+
etopay_wallet = { package = "etopay-wallet", version = "0.16.1", path = "./crates/etopay-wallet" }
5656

5757
base64 = { version = "0.22", default-features = false }
5858
chrono = { version = "0.4.41", default-features = false }

api_types/src/api/transactions/status.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub enum ApiTxStatus {
1717

1818
impl fmt::Display for ApiTxStatus {
1919
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
20-
write!(f, "{:?}", self)
20+
write!(f, "{self:?}")
2121
}
2222
}
2323

0 commit comments

Comments
 (0)