Skip to content

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

@Lex3333

Description

@Lex3333

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions