Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Wire TlsConfig into ConnectionBuilder and Config

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
rust

調査の方向性

Start by reading hyperdb-api-core/src/config.rs and hyperdb-api/src/connection_builder.rs, then trace the existing Client::connect call and lower-layer TlsConfig usage. Run the existing TLS tests before adding high-level integration coverage; done means TLS is exposed through the sync and async builders, demonstrated in hyperdb-api/examples/, and documented on ConnectionBuilder.

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

説明

enhancement

Summary

TlsConfig exists in hyperdb-api-core but is not reachable through the public Connection / AsyncConnection / ConnectionBuilder surface. There is no with_tls() / tls() method on any of them. TLS code is built and tested at the lower layer but has no on-ramp from the high-level API.

Current state

$ grep -rn "fn with_tls\|fn tls\|TlsConfig\|tls_config" \
    hyperdb-api/src/connection_builder.rs \
    hyperdb-api-core/src/config.rs
# (no output)

The original gap analysis (§7 of docs/RUST_API_GAP_ANALYSIS.md in the predecessor repo) called this out:

TlsConfig exists with a full builder. But the module doc says "TODO: with_tls not yet on Config" — i.e. there is no way to pass a TlsConfig to Client::connect(&Config). Config has no tls field/method. TLS code exists but isn't reachable through the public Connection/AsyncConnection or ConnectionBuilder.

Proposed work

  • Add a tls(TlsConfig) -> Self method on Config in hyperdb-api-core (or whichever struct Connection consumes for its TLS settings).
  • Add a tls(TlsConfig) -> Self method on ConnectionBuilder and its async counterparts.
  • Wire the field through to the actual Client::connect call so it has effect.
  • Add an integration test that connects to a TLS-enabled Hyper endpoint via the high-level API.
  • Add an example under hyperdb-api/examples/ demonstrating TLS configuration.
  • Update the rustdoc on ConnectionBuilder to mention TLS.

Backwards compatibility

Purely additive — new methods, no changes to existing signatures.

Note on cert verification

Whatever default TlsConfig produces today should remain the default. This issue is about exposing TLS, not redesigning the security defaults.

主要言語
Rust
スター
3
フォーク
2
平均マージ
23時間 11分
マージ済み PR(30日)
65

環境構築

はじめの一歩

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

tableau/hyper-api-rust のほかの issue

tableau/hyper-api-rust の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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