Cargo Features

[dependencies]
cstrptr = { version = "0.1.3", default-features = false, features = ["std", "alloc", "unstable", "memchr"] }
default = memchr

The memchr feature is set by default whenever cstrptr is added without default-features = false somewhere in the dependency tree.

std
alloc
unstable

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

memchr default