Please update `protobuf` to the latest v3.5.1 version for both ttrpc-codegen and ttrpc-compiler

オープン
#237 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust
領域
build-system

調査の方向性

ttrpc-codegen と ttrpc-compiler の依存関係宣言を調査し、その後 cargo build --timings を実行して protobuf が重複してコンパイルされていることを確認します。両方の crate を protobuf v3.5.1 に更新し、ビルドで 1 つの protobuf バージョンが使用されることを検証します。Cargo workspace とローカルパス依存関係の案は、定義された要件ではなく、追加の議論です。

索引モデルが issue の本文から書いたものです。

説明

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:

Image

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.

主要言語
Rust
スター
374
フォーク
64
平均マージ
3日 5時間
マージ済み PR(30日)
6

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

containerd/ttrpc-rust のほかの issue

containerd/ttrpc-rust の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。