[package]
name = "cstr_core"
version = "0.1.2"
authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
description = "Implementation of CStr and CString for no_std environments."
documentation = "https://docs.rs/cstr_core/"
license = "Apache-2.0/MIT"
repository = "https://github.com/Amanieu/cstr_core"
readme = "README.md"
keywords = ["cstr", "cstring", "no_std", "string", "c"]

[dependencies]
cty = "0.1"
memchr = { version = "2.0", default-features = false }

[features]
alloc = []

[package]
name = "cstr_core"
version = "0.1.2"
authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
description = "Implementation of CStr and CString for no_std environments."
documentation = "https://docs.rs/cstr_core/"
license = "Apache-2.0/MIT"
repository = "https://github.com/Amanieu/cstr_core"
readme = "README.md"
keywords = ["cstr", "cstring", "no_std", "string", "c"]

[dependencies]
cty = "0.1"
memchr = { version = "2.0", default-features = false }

[features]
alloc = []
use_libc = ["memchr/libc"]

Add a feature to use memchr's libc feature instead of its fallback memchr
Add a feature to use memchr's libc feature instead of its fallback memchr