| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.61" |
| 15 |
name = "memchr" |
| 16 |
version = "2.7.2" |
| 17 |
authors = [ |
| 18 |
"Andrew Gallant <[email protected]>", |
| 19 |
"bluss", |
| 20 |
] |
| 21 |
exclude = [ |
| 22 |
"/.github", |
| 23 |
"/benchmarks", |
| 24 |
"/fuzz", |
| 25 |
"/scripts", |
| 26 |
"/tmp", |
| 27 |
] |
| 28 |
description = """ |
| 29 |
Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for |
| 30 |
1, 2 or 3 byte search and single substring search. |
| 31 |
""" |
| 32 |
homepage = "https://github.com/BurntSushi/memchr" |
| 33 |
documentation = "https://docs.rs/memchr/" |
| 34 |
readme = "README.md" |
| 35 |
keywords = [ |
| 36 |
"memchr", |
| 37 |
"memmem", |
| 38 |
"substring", |
| 39 |
"find", |
| 40 |
"search", |
| 41 |
] |
| 42 |
license = "Unlicense OR MIT" |
| 43 |
repository = "https://github.com/BurntSushi/memchr" |
| 44 |
|
| 45 |
[package.metadata.docs.rs] |
| 46 |
rustdoc-args = ["--generate-link-to-definition"] |
| 47 |
|
| 48 |
[profile.bench] |
| 49 |
debug = 2 |
| 50 |
|
| 51 |
[profile.release] |
| 52 |
debug = 2 |
| 53 |
|
| 54 |
[profile.test] |
| 55 |
opt-level = 3 |
| 56 |
debug = 2 |
| 57 |
|
| 58 |
[lib] |
| 59 |
name = "memchr" |
| 60 |
bench = false |
| 61 |
|
| 62 |
[dependencies.compiler_builtins] |
| 63 |
version = "0.1.2" |
| 64 |
optional = true |
| 65 |
|
| 66 |
[dependencies.core] |
| 67 |
version = "1.0.0" |
| 68 |
optional = true |
| 69 |
package = "rustc-std-workspace-core" |
| 70 |
|
| 71 |
[dependencies.log] |
| 72 |
version = "0.4.20" |
| 73 |
optional = true |
| 74 |
|
| 75 |
[dev-dependencies.quickcheck] |
| 76 |
version = "1.0.3" |
| 77 |
default-features = false |
| 78 |
|
| 79 |
[features] |
| 80 |
alloc = [] |
| 81 |
default = ["std"] |
| 82 |
libc = [] |
| 83 |
logging = ["dep:log"] |
| 84 |
rustc-dep-of-std = [ |
| 85 |
"core", |
| 86 |
"compiler_builtins", |
| 87 |
] |
| 88 |
std = ["alloc"] |
| 89 |
use_std = ["std"] |