Skip to content

[no_std] Consider replacing panic!() with thiserror for more flexible error handling #37

@dengyt2018

Description

@dengyt2018

Hi! I've been using crc-fast in a no_std environment and noticed that some error cases use panic!() which can be problematic for embedded systems where we need to handle errors gracefully rather than having the program abort. It would be really helpful if the library could switch to using the thiserror crate to return proper error types instead, giving users the flexibility to decide how to handle errors in their specific contexts. This would make the library much more suitable for no_std and embedded use cases while maintaining its excellent performance characteristics. Thanks for considering this suggestion!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions