moq-tokio and moq-uring: stop exposing web-transport-proto types in the WebTransport API
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
調査の方向性
Read the WebTransport APIs in rs/moq-tokio/src/quic/web/connect.rs, server.rs, and session.rs, then compare them with rs/moq-uring/src/quic/web.rs and each crate's HandshakeError. Define matching crate-owned types for the caller-facing status, headers, and URL, and update both backends to use them. Done means callers no longer depend on web_transport_proto types through these APIs and the two crates expose matching shapes; check the relevant crate tests and the dependency update described in PR #10131.
索引モデルが issue の本文から書いたものです。
説明
moq-tokio's and moq-uring's WebTransport API take and return web_transport_proto types directly, so every 0.x bump of web-transport-proto is a breaking change for both crates even when our own API is unchanged.
Seen in https://github.com/moq-dev/moq/pull/10131: bumping web-transport-proto 0.6 to 0.7 (where ConnectResponse::OK became ConnectResponse::new(StatusCode::OK)) turned a grouped dependency update into chore(deps)!:.
Exposed on main:
rs/moq-tokio/src/quic/web/connect.rs:respond(impl Into<ConnectResponse>)and the publicresponse: ConnectResponsefieldrs/moq-tokio/src/quic/web/server.rs:respond(impl Into<ConnectResponse>)rs/moq-tokio/src/quic/web/session.rs:response() -> Option<&ConnectResponse>rs/moq-uring/src/quic/web.rs:respond(impl Into<proto::ConnectResponse>)andresponse() -> Option<&proto::ConnectResponse>- each crate's
HandshakeError, if it carries proto types
Ask
Give both crates their own small types for what callers actually use (status code, headers, the request/response URL), so a web-transport-proto bump is a patch. The two crates' shapes should match, since they're the same API on two backends. Doing it before the 0.22 cut lets the break ride that release.
(Written by Claude Opus 5.5)
- 主要言語
- Rust
- スター
- 1.6k
- フォーク
- 251
- 平均マージ
- 10時間 10分
- マージ済み PR(30日)
- 832
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
moq-dev/moq のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
getsotto/sotto-authenticator#139 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
registrystack/registry-stack#2924 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
foundry-rs/starknet-foundry#4733 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100