197g / 197g/ethox

Parsing should not depend on `std`

Đang mở
#26 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement good first issue
Ngôn ngữ chính
Rust
Star
45
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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).

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Look for structs implementing `core::str::FromStr` that rely on `std` parsing. Identify which types are affected and examine their current parsing logic. Research small, no-std parsing crates or consider implementing a minimal parser. Test changes by ensuring the crate still builds without the `std` feature.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
backend
Loại issue
Tái cấu trúc
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.