Skip to content

Can memchr be an optional dependency? #182

Open
@sffc

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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