]> git.proxmox.com Git - rustc.git/blob - vendor/regex/Cargo.toml
New upstream version 1.69.0+dfsg1
[rustc.git] / vendor / regex / Cargo.toml
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 = "2018"
14 name = "regex"
15 version = "1.7.1"
16 authors = ["The Rust Project Developers"]
17 exclude = [
18 "/scripts/*",
19 "/.github/*",
20 ]
21 autotests = false
22 description = """
23 An implementation of regular expressions for Rust. This implementation uses
24 finite automata and guarantees linear time matching on all inputs.
25 """
26 homepage = "https://github.com/rust-lang/regex"
27 documentation = "https://docs.rs/regex"
28 readme = "README.md"
29 categories = ["text-processing"]
30 license = "MIT OR Apache-2.0"
31 repository = "https://github.com/rust-lang/regex"
32
33 [profile.bench]
34 debug = true
35
36 [profile.release]
37 debug = true
38
39 [profile.test]
40 debug = true
41
42 [lib]
43 doctest = false
44 bench = false
45
46 [[test]]
47 name = "default"
48 path = "tests/test_default.rs"
49
50 [[test]]
51 name = "default-bytes"
52 path = "tests/test_default_bytes.rs"
53
54 [[test]]
55 name = "nfa"
56 path = "tests/test_nfa.rs"
57
58 [[test]]
59 name = "nfa-utf8bytes"
60 path = "tests/test_nfa_utf8bytes.rs"
61
62 [[test]]
63 name = "nfa-bytes"
64 path = "tests/test_nfa_bytes.rs"
65
66 [[test]]
67 name = "backtrack"
68 path = "tests/test_backtrack.rs"
69
70 [[test]]
71 name = "backtrack-utf8bytes"
72 path = "tests/test_backtrack_utf8bytes.rs"
73
74 [[test]]
75 name = "backtrack-bytes"
76 path = "tests/test_backtrack_bytes.rs"
77
78 [[test]]
79 name = "crates-regex"
80 path = "tests/test_crates_regex.rs"
81
82 [dependencies.aho-corasick]
83 version = "0.7.18"
84 optional = true
85
86 [dependencies.memchr]
87 version = "2.4.0"
88 optional = true
89
90 [dependencies.regex-syntax]
91 version = "0.6.27"
92 default-features = false
93
94 [dev-dependencies.lazy_static]
95 version = "1"
96
97 [dev-dependencies.quickcheck]
98 version = "1.0.3"
99 default-features = false
100
101 [dev-dependencies.rand]
102 version = "0.8.3"
103 features = [
104 "getrandom",
105 "small_rng",
106 ]
107 default-features = false
108
109 [features]
110 default = [
111 "std",
112 "perf",
113 "unicode",
114 "regex-syntax/default",
115 ]
116 pattern = []
117 perf = [
118 "perf-cache",
119 "perf-dfa",
120 "perf-inline",
121 "perf-literal",
122 ]
123 perf-cache = []
124 perf-dfa = []
125 perf-inline = []
126 perf-literal = [
127 "aho-corasick",
128 "memchr",
129 ]
130 std = []
131 unicode = [
132 "unicode-age",
133 "unicode-bool",
134 "unicode-case",
135 "unicode-gencat",
136 "unicode-perl",
137 "unicode-script",
138 "unicode-segment",
139 "regex-syntax/unicode",
140 ]
141 unicode-age = ["regex-syntax/unicode-age"]
142 unicode-bool = ["regex-syntax/unicode-bool"]
143 unicode-case = ["regex-syntax/unicode-case"]
144 unicode-gencat = ["regex-syntax/unicode-gencat"]
145 unicode-perl = ["regex-syntax/unicode-perl"]
146 unicode-script = ["regex-syntax/unicode-script"]
147 unicode-segment = ["regex-syntax/unicode-segment"]
148 unstable = ["pattern"]
149 use_std = ["std"]