Debian Codegraph @

third_party/rust/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.60.0"
15 name = "regex"
16 version = "1.9.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
66 [dependencies.memchr]
67 version = "2.5.0"
68 optional = true
69
70 [dependencies.regex-automata]
71 version = "0.3.7"
72 features = [
73 "alloc",
74 "syntax",
75 "meta",
76 "nfa-pikevm",
77 ]
78 default-features = false
79
80 [dependencies.regex-syntax]
81 version = "0.7.5"
82 default-features = false
83
84 [dev-dependencies.anyhow]
85 version = "1.0.69"
86
87 [dev-dependencies.doc-comment]
88 version = "0.3"
89
90 [dev-dependencies.env_logger]
91 version = "0.9.3"
92 features = [
93 "atty",
94 "humantime",
95 "termcolor",
96 ]
97 default-features = false
98
99 [dev-dependencies.once_cell]
100 version = "1.17.1"
101
102 [dev-dependencies.quickcheck]
103 version = "1.0.3"
104 default-features = false
105
106 [dev-dependencies.regex-test]
107 version = "0.1.0"
108
109 [features]
110 default = [
111 "std",
112 "perf",
113 "unicode",
114 "regex-syntax/default",
115 ]
116 logging = [
117 "aho-corasick?/logging",
118 "regex-automata/logging",
119 ]
120 pattern = []
121 perf = [
122 "perf-cache",
123 "perf-dfa",
124 "perf-onepass",
125 "perf-backtrack",
126 "perf-inline",
127 "perf-literal",
128 ]
129 perf-backtrack = ["regex-automata/nfa-backtrack"]
130 perf-cache = []
131 perf-dfa = ["regex-automata/hybrid"]
132 perf-dfa-full = [
133 "regex-automata/dfa-build",
134 "regex-automata/dfa-search",
135 ]
136 perf-inline = ["regex-automata/perf-inline"]
137 perf-literal = [
138 "dep:aho-corasick",
139 "dep:memchr",
140 "regex-automata/perf-literal",
141 ]
142 perf-onepass = ["regex-automata/dfa-onepass"]
143 std = [
144 "aho-corasick?/std",
145 "memchr?/std",
146 "regex-automata/std",
147 "regex-syntax/std",
148 ]
149 unicode = [
150 "unicode-age",
151 "unicode-bool",
152 "unicode-case",
153 "unicode-gencat",
154 "unicode-perl",
155 "unicode-script",
156 "unicode-segment",
157 "regex-automata/unicode",
158 "regex-syntax/unicode",
159 ]
160 unicode-age = [
161 "regex-automata/unicode-age",
162 "regex-syntax/unicode-age",
163 ]
164 unicode-bool = [
165 "regex-automata/unicode-bool",
166 "regex-syntax/unicode-bool",
167 ]
168 unicode-case = [
169 "regex-automata/unicode-case",
170 "regex-syntax/unicode-case",
171 ]
172 unicode-gencat = [
173 "regex-automata/unicode-gencat",
174 "regex-syntax/unicode-gencat",
175 ]
176 unicode-perl = [
177 "regex-automata/unicode-perl",
178 "regex-automata/unicode-word-boundary",
179 "regex-syntax/unicode-perl",
180 ]
181 unicode-script = [
182 "regex-automata/unicode-script",
183 "regex-syntax/unicode-script",
184 ]
185 unicode-segment = [
186 "regex-automata/unicode-segment",
187 "regex-syntax/unicode-segment",
188 ]
189 unstable = ["pattern"]
190 use_std = ["std"]