197g / 197g/ethox

Parsing should not depend on `std`

未關閉
#26 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement good first issue
主要語言
Rust
星號
45
分支
6
PR 合併指標
30 天內沒有已合併 PR

描述

There are some instances where parsing of structs (`core::str::FromStr`) makes use of the implementations provided by the standard library. Problematically, these are defined in `std` and not in `core` such that this depends on the `std` feature. This makes the trait implementations inconsistent and makes the dependency quite a lot heavier.

Instead, such parsing should be implemented in a standalone version (possibly with a dedicated, small dependency).

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

尋找那些實作了 `core::str::FromStr` 但依賴 `std` 進行解析的結構體。識別哪些類型受到影響,並檢查它們當前的解析邏輯。研究小型、無標準庫(no-std)的解析 crate,或考慮實作一個最小化的解析器。透過確保 crate 在不啟用 `std` 功能時仍能建置來測試變更。

由索引模型根據 Issue 內容生成。

評估

領域
backend
Issue 類型
重構
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。