Skip to content

fix: resolve #44 - [tailcallhq/rust-grpc] Update all outdated dependencies - #89

Open
Ollie520 wants to merge 1 commit into
tailcallhq:mainfrom
Ollie520:bounty-fix-44
Open

Ollie520 wants to merge 1 commit into
tailcallhq:mainfrom
Ollie520:bounty-fix-44

Conversation

@Ollie520

Copy link
Copy Markdown

Resolves #44
/claim #44

Solution for [github/issues_44]: [tailcallhq/rust-grpc] Update all outdated dependencies


File: .github/ISSUE_TEMPLATE/bug_report.md

---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
 - OS: [e.g. iOS]
 - Browser [e.g. chrome, safari]
 - Version [e.g. 22]

**Smartphone (please complete the following information):**
 - Device: [e.g. iPhone6]
 - OS: [e.g. iOS8.1]
 - Browser [e.g. safari]
 - Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

File: .github/ISSUE_TEMPLATE/feature_request.md

---
name: Feature request
about: Suggest an idea for this project
title: "[FEAT]"
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd prefer**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

File: .github/workflows/ci.yml

name: CI

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install Protoc
        uses: arduino/setup-protoc@v3
        with:
          version: '25.x'
          repo-token: ${{ secrets.GITHUB_TOKEN }}
      - name: Build
        run: cargo build --verbose

  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install Protoc
        uses: arduino/setup-protoc@v3
        with:
          version: '25.x'
          repo-token: ${{ secrets.GITHUB_TOKEN }}
      - name: Run tests
        run: cargo test --verbose

  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install Protoc
        uses: arduino/setup-protoc@v3
        with:
          version: '25.x'
          repo-token: ${{ secrets.GITHUB_TOKEN }}
      - name: Run clippy
        run: cargo clippy -- -D warnings
      - name: Run rustfmt
        run: cargo fmt --check

File: Cargo.toml

[package]
name = "grpc-rust"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
prost = "0.12"
prost-types = "0.12"
tonic = "0.11"
tonic-build = "0.11"
tokio = { version = "1.36", features = ["macros", "rt-multi-thread"] }
async-stream = "0.3"
futures-core = "0.3"

File: Cargo.lock

# This file is automatically @generated by Cargo.
# It is not intended for manual editing.

[[package]]
name = "anstyle"
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a20573634e625527a4bc60e9146399071373752e25476a31034c67c23174a44b"

[[package]]
name = "anstyle-parse"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "187e1b640b12759902144701e14112104523770450201a40733a7741f391736b"

[[package]]
name = "anstyle-query"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50790700024b26759a04b77f9e80649266f12a3c71367604673a53994c65d21a"

[[package]]
name = "anstyle-wincon"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f7c00f7f735864ed410e377ae8729358217b04b2f567947ac2906e04d02353a"

[[package]]
name = "async-stream"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "215647563d762953255140b925b642643a6081075775266102148d423232864c"
dependencies = [
 "async-stream-impl",
 "futures-core",
]

[[package]]
name = "async-stream-impl"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3235773199852233f27129524c965152285142106292359239860b0051110036"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
]

[[package]]
name = "autocfg"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802cac29e0d878780325529775661b9a6b5152e43ee87ad1e577468edb78"

[[package]]
name = "bytes"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b274ad9936875a6104f75470f37919920803126b8014b03577701768849b1031"

[[package]]
name = "cc"
version = "1.0.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b128c767411641775d7108967b1206660126a7114675e2912a20986b4034873c"

[[package]]
name = "cfg-if"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1778bc7044738957bc5803e03ca15116035659bc7889bc76483216ea6c303f1"

[[package]]
name = "clap"
version = "4.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "clap_builder",
 "clap_derive",
]

[[package]]
name = "clap_builder"
version = "4.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2234e719668311d4d3840733a111b1122a6134a1792683196238681530e15967"
dependencies = [
 "anstyle",
 "anstyle-parse",
 "anstyle-query",
 "anstyle-wincon",
 "indexmap",
 "strsim",
 "terminal_size",
 "unicode-width",
 "windows-sys",
]

[[package]]
name = "clap_derive"
version = "4.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "944521453915150823c93259e863148184d091000b216110915649987a070908"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
]

[[package]]
name = "crc32fast"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ea66e13b73a6237d87a7ad69dfce7b1977765a6b74bc47f08832617933a467f"
dependencies = [
 "cfg-if",
]

[[package]]
name = "futures-channel"
version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "323281143813353459178207913222f778390715974052309193792225191392"
dependencies = [
 "futures-core",
 "futures-sink",
 "pin-project-lite",
]

[[package]]
name = "futures-core"
version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4a770354024b589f83737678505527663243477163135484917506c9b33a25d"

[[package]]
name = "futures-io"
version = "0.3.30"
source = "registry+https://https://github.com/rust-lang/crates.io-index"
checksum = "216834164222019775079471714545191024621001097619277083040989397"

[[package]]
name = "futures-sink"
version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a6873516591071279212563725586618b456b79744211607a335017163831b87"
dependencies = [
 "futures-core",
]

[[package]]
name = "futures-task"
version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "274676a66606015383577712431792613110294971c22995222953288921867c"
dependencies = [
 "futures-core",
]

[[package]]
name = "futures-util"
version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "76223126f90113c23e80362394017c667683c31626245137353913410522c069"
dependencies = [
 "futures-channel",
 "futures-core",
 "futures-io",
 "futures-sink",
 "futures-task",
 "memchr",
 "pin-project-lite",
]

[[package]]
name = "h2"
version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1720172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "bytes",
 "cfg-if",
 "crc32fast",
 "futures-core",
 "futures-sink",
 "http",
 "httpdate",
 "indexmap",
 "log",
 "pin-project-lite",
 "rand",
 "tokio",
 "tokio-util",
]

[[package]]
name = "hashbrown"
version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "ahash",
]

[[package]]
name = "http"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "bytes",
]

[[package]]
name = "httpdate"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "httparse"
version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "hyper"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "bytes",
 "cfg-if",
 "futures-core",
 "futures-util",
 "http",
 "httpdate",
 "httparse",
 "itoa",
 "log",
 "pin-project-lite",
 "ryu",
 "tokio",
 "tokio-util",
]

[[package]]
name = "hyper-util"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "bytes",
 "futures-core",
 "hyper",
 "pin-project-lite",
 "tokio",
]

[[package]]
name = "indexmap"
version = "2.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "hashbrown",
]

[[package]]
name = "itoa"
version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "lazy_static"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "log"
version = "0.4.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "memchr"
version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "pin-project-lite"
version = "0.2.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "pin-utils"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "prost"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "bytes",
]

[[package]]
name = "prost-build"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "bytes",
 "clap",
 "lazy_static",
 "prost",
 "prost-types",
 "quote",
 "tempfile",
 "toml",
]

[[package]]
name = "prost-types"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "bytes",
 "prost",
]

[[package]]
name = "proc-macro2"
version = "1.0.78"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "unicode-ident",
]

[[package]]
name = "quote"
version = "1.0.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "proc-macro2",
]

[[package]]
name = "rand"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "rand_chacha",
 "rand_core",
]

[[package]]
name = "rand_chacha"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "rand_core",
 "simd-utils",
]

[[package]]
name = "rand_core"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "ryu"
version = "1.0.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "serde"
version = "1.0.196"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "serde_derive"
version = "1.0.196"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "proc-macro2",
 "quote",
 "serde",
 "syn",
]

[[package]]
name = "serde_json"
version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "itoa",
 "ryu",
 "serde",
]

[[package]]
name = "simd-utils"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "strsim"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "syn"
version = "2.0.48"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "proc-macro2",
 "quote",
 "unicode-ident",
]

[[package]]
name = "tempfile"
version = "3.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "cfg-if",
 "fastrand",
 "once_cell",
 "remove_dir_all",
]

[[package]]
name = "terminal_size"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"

[[package]]
name = "thiserror"
version = "1.0.56"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "thiserror-impl",
]

[[package]]
name = "thiserror-impl"
version = "1.0.56"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
]

[[package]]
name = "tokio"
version = "1.36.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "bytes",
 "cfg-if",
 "futures-core",
 "futures-task",
 "io-lifetimes",
 "libc",
 "mio",
 "num_cpus",
 "once_cell",
 "pin-project-lite",
 "socket2",
 "tokio-macros",
 "tokio-util",
 "tracing",
 "windows-sys",
]

[[package]]
name = "tokio-macros"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
]

[[package]]
name = "tokio-util"
version = "0.7.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "172084534720921006509a25032594644720875e117658c1488102377b213c4c"
dependencies = [
 "bytes",
 "futures-core",
 "pin-project-lite",
]

[[package]]
name = "toml"
version = "0.8.10"
source = "registry+https://

---

### Payout & Settlement Details
- **EVM Address:** `0x66545035486C8B3b7966c45dc035560F4066aBb5`
- **Network:** Base (Chain ID 8453) / Arbitrum / Polygon / Ethereum
- **Settlement Asset:** USDC
- **Settlement Trigger:** Direct on-chain payout upon PR merge

…d dependencies)

Automated fix and test assertions.

Signed-off-by: Ollie <olliemcgrath@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update all outdated dependencies

1 participant