Please update `protobuf` to the latest v3.5.1 version for both ttrpc-codegen and ttrpc-compiler
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- rust
- Domain
- build-system
Research direction
Inspect the dependency declarations for ttrpc-codegen and ttrpc-compiler, then run cargo build --timings to confirm the duplicate protobuf compilation. Update both crates to protobuf v3.5.1 and verify that the build uses one protobuf version; the Cargo workspace and local-path dependency ideas are additional discussion rather than a defined requirement.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
Projects like containerd/runwasi and containerd/rust-extensions all depend on ttrpc-rust and a quick cargo build --timings shows that they are compiling protobuf twice:
Ideally, we would want to keep just one version of the protobuf, so there is this request.
Discussion
Also, I realized that ttrpc-codegen depends on ttrpc-compiler. I'd suggest to use a local path for local development and make this repo a Cargo workspace to reduce compilation time.
- Dominant language
- Rust
- Stars
- 374
- Forks
- 64
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 6
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from containerd/ttrpc-rust
-
Async server reorders and drops client-stream DATA framesPossibly taken @shvbsle claimed this 19 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 15/100
containerd/ttrpc-rust#340 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
containerd/ttrpc-rust#338 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
containerd/ttrpc-rust#317 · 1 comment ·
-
Add single connection support to ServerPossibly taken @KarstenB claimed this 204 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 42/100
containerd/ttrpc-rust#293 ·
-
Can the asynchronous client connect operation support asynchronous mode to avoid connect blocking?Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
containerd/ttrpc-rust#265 · 1 comment ·
All issues in containerd/ttrpc-rust
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
longbridge/nsh#4201 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
moq-dev/moq#10463 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day