summaryrefslogtreecommitdiffstats
path: root/third_party/rust/regex/Cargo.toml
blob: 4f8673ea9460ed10a2b172d2b3c86240c4592df3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "regex"
version = "1.7.1"
authors = ["The Rust Project Developers"]
exclude = [
    "/scripts/*",
    "/.github/*",
]
autotests = false
description = """
An implementation of regular expressions for Rust. This implementation uses
finite automata and guarantees linear time matching on all inputs.
"""
homepage = "https://github.com/rust-lang/regex"
documentation = "https://docs.rs/regex"
readme = "README.md"
categories = ["text-processing"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/regex"

[profile.bench]
debug = true

[profile.release]
debug = true

[profile.test]
debug = true

[lib]
doctest = false
bench = false

[[test]]
name = "default"
path = "tests/test_default.rs"

[[test]]
name = "default-bytes"
path = "tests/test_default_bytes.rs"

[[test]]
name = "nfa"
path = "tests/test_nfa.rs"

[[test]]
name = "nfa-utf8bytes"
path = "tests/test_nfa_utf8bytes.rs"

[[test]]
name = "nfa-bytes"
path = "tests/test_nfa_bytes.rs"

[[test]]
name = "backtrack"
path = "tests/test_backtrack.rs"

[[test]]
name = "backtrack-utf8bytes"
path = "tests/test_backtrack_utf8bytes.rs"

[[test]]
name = "backtrack-bytes"
path = "tests/test_backtrack_bytes.rs"

[[test]]
name = "crates-regex"
path = "tests/test_crates_regex.rs"

[dependencies.aho-corasick]
version = "0.7.18"
optional = true

[dependencies.memchr]
version = "2.4.0"
optional = true

[dependencies.regex-syntax]
version = "0.6.27"
default-features = false

[dev-dependencies.lazy_static]
version = "1"

[dev-dependencies.quickcheck]
version = "1.0.3"
default-features = false

[dev-dependencies.rand]
version = "0.8.3"
features = [
    "getrandom",
    "small_rng",
]
default-features = false

[features]
default = [
    "std",
    "perf",
    "unicode",
    "regex-syntax/default",
]
pattern = []
perf = [
    "perf-cache",
    "perf-dfa",
    "perf-inline",
    "perf-literal",
]
perf-cache = []
perf-dfa = []
perf-inline = []
perf-literal = [
    "aho-corasick",
    "memchr",
]
std = []
unicode = [
    "unicode-age",
    "unicode-bool",
    "unicode-case",
    "unicode-gencat",
    "unicode-perl",
    "unicode-script",
    "unicode-segment",
    "regex-syntax/unicode",
]
unicode-age = ["regex-syntax/unicode-age"]
unicode-bool = ["regex-syntax/unicode-bool"]
unicode-case = ["regex-syntax/unicode-case"]
unicode-gencat = ["regex-syntax/unicode-gencat"]
unicode-perl = ["regex-syntax/unicode-perl"]
unicode-script = ["regex-syntax/unicode-script"]
unicode-segment = ["regex-syntax/unicode-segment"]
unstable = ["pattern"]
use_std = ["std"]