netwatch: chrono is built on Windows but never used
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 33/100
調査の方向性
In the Windows-specific netwatch dependency setup, remove the direct chrono version line and disable wmi's default features as described. Start by reading the netwatch Cargo.toml entries and check the existing draft pull request for the proposed two-line change. Done when the Windows-target cargo check passes and cargo tree --target all -i chrono shows no compiled dependency path.
索引モデルが issue の本文から書いたものです。
説明
On Windows, netwatch depends on wmi with default features, which pulls in chrono, plus a direct chrono = "0.4.23" line that only pins a minimum version. netwatch reads one string field from WMI (the default route's interface name) and never touches a date type. Seen on netwatch 0.20.2 and on main at 40fc258.
chrono is now flagged unmaintained (RUSTSEC-2026-0543), and you already ignore that in deny.toml. Dropping the direct line and using wmi with default-features = false stops it from being built. The change is two lines and waits here as a draft: https://github.com/irsync-dev/net-tools/pull/1
With it, cargo check -p netwatch --target x86_64-pc-windows-msvc --all-targets passes and cargo tree --target all -i chrono is empty. chrono stays in Cargo.lock as an optional dependency of wmi, but nothing compiles it.
#226 would make this moot by removing WMI altogether, but this is small and could land first. Happy to send the PR if you want it.
- 主要言語
- Rust
- スター
- 34
- フォーク
- 56
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 8
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
n0-computer/net-tools のほかの issue
-
netwatch: objc2-system-configuration with default features pulls objc2-security into every macOS build対応中かも @flub が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
n0-computer/net-tools#278 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
n0-computer/net-tools#276 ·
メンテナーはふだん 2 日以内に返信
-
netwatch never turns on noq-udp's Apple fast path, so iroh's `fast-apple-datapath` does nothingオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
n0-computer/net-tools#272 ·
メンテナーはふだん 2 日以内に返信
-
Windows: endpoints hang or crash when several bind at once (concurrent WMI default-route queries?)オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
n0-computer/net-tools#271 ·
メンテナーはふだん 2 日以内に返信
-
portmapper: synchronous HomeRouter lookup blocks the Tokio worker対応中かも @TNTcraftHIM が 19 日前に担当しました。 オープンready-for-pr
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
n0-computer/net-tools#266 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
n0-computer/net-tools の issue をすべて見る
似ている issue
-
area:web kind:bug priority:p2 ready
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
sims1253/r-typeshed#140 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
storytold/craft-libs#2867 ·
メンテナーはふだん 1 日以内に返信
-
help wanted needs investigation priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100