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