Debian Codegraph @

.cargo/vendor/regex/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.65"
15 name = "regex"
16 version = "1.10.4"
17 authors = [
18 "The Rust Project Developers",
19 "Andrew Gallant <[email protected]>",
20 ]
21 exclude = [
22 "/scripts/*",
23 "/.github/*",
24 ]
25 autotests = false
26 description = """
27 An implementation of regular expressions for Rust. This implementation uses
28 finite automata and guarantees linear time matching on all inputs.
29 """
30 homepage = "https://github.com/rust-lang/regex"
31 documentation = "https://docs.rs/regex"
32 readme = "README.md"
33 categories = ["text-processing"]
34 license = "MIT OR Apache-2.0"
35 repository = "https://github.com/rust-lang/regex"
36
37 [package.metadata.docs.rs]
38 all-features = true
39 rustdoc-args = [
40 "--cfg",
41 "docsrs",
42 ]
43
44 [profile.bench]
45 debug = 2
46
47 [profile.dev]
48 opt-level = 3
49 debug = 2
50
51 [profile.release]
52 debug = 2
53
54 [profile.test]
55 opt-level = 3
56 debug = 2
57
58 [[test]]
59 name = "integration"
60 path = "tests/lib.rs"
61
62 [dependencies.aho-corasick]
63 version = "1.0.0"
64 optional = true
65 default-features = false
66
67 [dependencies.memchr]
68 version = "2.6.0"
69 optional = true
70 default-features = false
71
72 [dependencies.regex-automata]
73 version = "0.4.4"
74 features = [
75 "alloc",
76 "syntax",
77 "meta",
78 "nfa-pikevm",
79 ]
80 default-features = false
81
82 [dependencies.regex-syntax]
83 version = "0.8.2"
84 default-features = false
85
86 [dev-dependencies.anyhow]
87 version = "1.0.69"
88
89 [dev-dependencies.doc-comment]
90 version = "0.3"
91
92 [dev-dependencies.env_logger]
93 version = "0.9.3"
94 features = [
95 "atty",
96 "humantime",
97 "termcolor",
98 ]
99 default-features = false
100
101 [dev-dependencies.once_cell]
102 version = "1.17.1"
103
104 [dev-dependencies.quickcheck]
105 version = "1.0.3"
106 default-features = false
107
108 [dev-dependencies.regex-test]
109 version = "0.1.0"
110
111 [features]
112 default = [
113 "std",
114 "perf",
115 "unicode",
116 "regex-syntax/default",
117 ]
118 logging = [
119 "aho-corasick?/logging",
120 "memchr?/logging",
121 "regex-automata/logging",
122 ]
123 pattern = []
124 perf = [
125 "perf-cache",
126 "perf-dfa",
127 "perf-onepass",
128 "perf-backtrack",
129 "perf-inline",
130 "perf-literal",
131 ]
132 perf-backtrack = ["regex-automata/nfa-backtrack"]
133 perf-cache = []
134 perf-dfa = ["regex-automata/hybrid"]
135 perf-dfa-full = [
136 "regex-automata/dfa-build",
137 "regex-automata/dfa-search",
138 ]
139 perf-inline = ["regex-automata/perf-inline"]
140 perf-literal = [
141 "dep:aho-corasick",
142 "dep:memchr",
143 "regex-automata/perf-literal",
144 ]
145 perf-onepass = ["regex-automata/dfa-onepass"]
146 std = [
147 "aho-corasick?/std",
148 "memchr?/std",
149 "regex-automata/std",
150 "regex-syntax/std",
151 ]
152 unicode = [
153 "unicode-age",
154 "unicode-bool",
155 "unicode-case",
156 "unicode-gencat",
157 "unicode-perl",
158 "unicode-script",
159 "unicode-segment",
160 "regex-automata/unicode",
161 "regex-syntax/unicode",
162 ]
163 unicode-age = [
164 "regex-automata/unicode-age",
165 "regex-syntax/unicode-age",
166 ]
167 unicode-bool = [
168 "regex-automata/unicode-bool",
169 "regex-syntax/unicode-bool",
170 ]
171 unicode-case = [
172 "regex-automata/unicode-case",
173 "regex-syntax/unicode-case",
174 ]
175 unicode-gencat = [
176 "regex-automata/unicode-gencat",
177 "regex-syntax/unicode-gencat",
178 ]
179 unicode-perl = [
180 "regex-automata/unicode-perl",
181 "regex-automata/unicode-word-boundary",
182 "regex-syntax/unicode-perl",
183 ]
184 unicode-script = [
185 "regex-automata/unicode-script",
186 "regex-syntax/unicode-script",
187 ]
188 unicode-segment = [
189 "regex-automata/unicode-segment",
190 "regex-syntax/unicode-segment",
191 ]
192 unstable = ["pattern"]
193 use_std = ["std"]