Skip to content

Can memchr be an optional dependency? #182

@sffc

Description

@sffc

I'd like to use bstr, but I don't need the search functions like find_byte and find_byteset that require the memchr dependency. It seems that those functions could be feature-gated, especially since ByteSlice is a sealed trait.

Would you accept a pull request making memchr an optional, default dependency?

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