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