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