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

Handle hyphens internally

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

@Gnnng がすでに取り組んでいます。

2020年8月14日 から。

  • #177 @Gnnng による — オープン

評価

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

調査の方向性

issueで言及されている parse_spec() 関数から始め、crate名のダッシュに関する PR #77 の既存のドキュメント注記を確認してください。変更を調査する前に、issue #190 で参照されているビルド問題を確認してください。完了とは、ユーザーが手動で置き換える必要がないようにハイフンを内部で処理し、ロギングが期待どおりに機能することです。

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

説明

enhancement

With PR #77 a note about dashes in the crate name was added in the docs. The note was of course an essential addition.

I propose going a step further and handling the dashes internally, during the parsing (parse_spec() function).
I believe this addition will save people time trying to debug the reason that the logging does not work as expected.
I myself lost some time on this, even though I had read the docs, and I had read about the need to replace the dashes.

I would also have provided a PR too, but currently I am failing to build the library (see https://github.com/env-logger-rs/env_logger/issues/190#issuecomment-812988592).

Is there a valid reason for not handling the dashes internally?

主要言語
Rust
スター
1.1k
フォーク
150
平均マージ
3分
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

rust-cli/env_logger のほかの issue

rust-cli/env_logger の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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