Debian Codegraph @

third_party/rust/memchr/Cargo.toml

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