@@ -27,14 +27,6 @@ members = [
27
27
" regex-test" ,
28
28
]
29
29
30
- [lib ]
31
- # There are no benchmarks in the library code itself
32
- bench = false
33
- # Doc tests fail when some features aren't present. The easiest way to work
34
- # around this is to disable automatic doc testing, but explicitly test them
35
- # with `cargo test --doc`.
36
- doctest = false
37
-
38
30
# Features are documented in the "Crate features" section of the crate docs:
39
31
# https://docs.rs/regex/*/#crate-features
40
32
[features ]
@@ -187,8 +179,6 @@ features = ["alloc", "syntax", "meta", "nfa-pikevm"]
187
179
lazy_static = " 1"
188
180
# For property based tests.
189
181
quickcheck = { version = " 1.0.3" , default-features = false }
190
- # For generating random test data.
191
- rand = { version = " 0.8.3" , default-features = false , features = [" getrandom" , " small_rng" ] }
192
182
# To check README's example
193
183
doc-comment = " 0.3"
194
184
# For easy error handling in integration tests.
@@ -221,23 +211,9 @@ features = ["atty", "humantime", "termcolor"]
221
211
# in this test suite *should* mean there is a corresponding failure in
222
212
# regex-automata's test suite.
223
213
[[test ]]
224
- path = " newtests /lib.rs"
214
+ path = " tests /lib.rs"
225
215
name = " integration"
226
216
227
- # Run the test suite on the default behavior of Regex::new.
228
- # This includes a mish mash of NFAs and DFAs, which are chosen automatically
229
- # based on the regex. We test both of the NFA implementations by forcing their
230
- # usage with the test definitions below. (We can't test the DFA implementations
231
- # in the same way since they can't be used for every regex tested.)
232
- [[test ]]
233
- path = " tests/test_default.rs"
234
- name = " default"
235
-
236
- # The same as the default tests, but run on bytes::Regex.
237
- [[test ]]
238
- path = " tests/test_default_bytes.rs"
239
- name = " default-bytes"
240
-
241
217
[package .metadata .docs .rs ]
242
218
# We want to document all features.
243
219
all-features = true
0 commit comments