mirror of
https://gitee.com/openharmony/third_party_rust_nom
synced 2024-11-23 07:29:54 +00:00
Ability to turn off std in memchr
This commit is contained in:
parent
eee82832fa
commit
9e8ba817a2
@ -22,7 +22,7 @@ include = [
|
||||
]
|
||||
|
||||
[features]
|
||||
std = []
|
||||
std = ["memchr/use_std"]
|
||||
nightly = []
|
||||
default = ["std", "stream"]
|
||||
regexp = ["regex"]
|
||||
@ -40,6 +40,7 @@ optional = true
|
||||
|
||||
[dependencies.memchr]
|
||||
version = "^1.0.1"
|
||||
default-features = false
|
||||
|
||||
#[dev-dependencies.bytes]
|
||||
#git = "https://github.com/carllerche/bytes"
|
||||
|
Loading…
Reference in New Issue
Block a user