| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.61" |
| 15 |
name = "memchr" |
| 16 |
version = "2.8.0" |
| 17 |
authors = [ |
| 18 |
"Andrew Gallant <[email protected]>", |
| 19 |
"bluss", |
| 20 |
] |
| 21 |
build = false |
| 22 |
exclude = [ |
| 23 |
"/.github", |
| 24 |
"/benchmarks", |
| 25 |
"/fuzz", |
| 26 |
"/scripts", |
| 27 |
"/tmp", |
| 28 |
] |
| 29 |
autolib = false |
| 30 |
autobins = false |
| 31 |
autoexamples = false |
| 32 |
autotests = false |
| 33 |
autobenches = false |
| 34 |
description = """ |
| 35 |
Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for |
| 36 |
1, 2 or 3 byte search and single substring search. |
| 37 |
""" |
| 38 |
homepage = "https://github.com/BurntSushi/memchr" |
| 39 |
documentation = "https://docs.rs/memchr/" |
| 40 |
readme = "README.md" |
| 41 |
keywords = [ |
| 42 |
"memchr", |
| 43 |
"memmem", |
| 44 |
"substring", |
| 45 |
"find", |
| 46 |
"search", |
| 47 |
] |
| 48 |
license = "Unlicense OR MIT" |
| 49 |
repository = "https://github.com/BurntSushi/memchr" |
| 50 |
|
| 51 |
[package.metadata.docs.rs] |
| 52 |
rustdoc-args = ["--generate-link-to-definition"] |
| 53 |
|
| 54 |
[features] |
| 55 |
alloc = [] |
| 56 |
default = ["std"] |
| 57 |
libc = [] |
| 58 |
logging = ["dep:log"] |
| 59 |
rustc-dep-of-std = ["core"] |
| 60 |
std = ["alloc"] |
| 61 |
use_std = ["std"] |
| 62 |
|
| 63 |
[lib] |
| 64 |
name = "memchr" |
| 65 |
path = "src/lib.rs" |
| 66 |
bench = false |
| 67 |
|
| 68 |
[dependencies.core] |
| 69 |
version = "1.0.0" |
| 70 |
optional = true |
| 71 |
package = "rustc-std-workspace-core" |
| 72 |
|
| 73 |
[dependencies.log] |
| 74 |
version = "0.4.20" |
| 75 |
optional = true |
| 76 |
|
| 77 |
[dev-dependencies.quickcheck] |
| 78 |
version = "1.0.3" |
| 79 |
default-features = false |
| 80 |
|
| 81 |
[profile.bench] |
| 82 |
debug = 2 |
| 83 |
|
| 84 |
[profile.release] |
| 85 |
debug = 2 |
| 86 |
|
| 87 |
[profile.test] |
| 88 |
opt-level = 3 |
| 89 |
debug = 2 |