Skip to content

Remove std dependency for Error and Display trait implementations #453

@jbis9051

Description

@jbis9051

strum uses std::error::Error and std::fmt::Display instead of core::error::Error and core::fmt::Display:

impl std::error::Error for ParseError {

impl std::fmt::Display for ParseError {

This makes it impossible to use these traits in no_std environments.

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