impl ::core::error::Error instead of ::std::error::Error

Open
#210 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

Start by locating the ::httparse::Error implementation and checking the repository's current MSRV. Verify the no-std configuration and the Rust version needed for ::core::error::Error; done means the error supports the no-std build without the std feature while preserving the supported MSRV.

Written by the indexing model from the issue text.

Description

::httparse::Error impls ::std::error::Error under the std feature flag when it could impl ::core::error::Error without a feature flag, and support errors without std flag.

Only downside is that this could potentially require MSRV bump - I don't know what the current MSRV is but ::core::error::Error was stabilized in 1.81.0.

Dominant language
Rust
Stars
713
Forks
134
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from seanmonstar/httparse

All issues in seanmonstar/httparse

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.