• Home
  • Raw
  • Download

Lines Matching +full:test +full:- +full:msrv

5 license = "MIT OR Apache-2.0"
7 repository = "https://github.com/rust-lang/regex"
9 homepage = "https://github.com/rust-lang/regex"
14 categories = ["text-processing"]
21 "bench", "regex-capi", "regex-debug", "regex-syntax",
28 # around this is to disable automatic doc testing, but explicitly test them
29 # with `cargo test --doc`.
33 # https://docs.rs/regex/*/#crate-features
35 default = ["std", "perf", "unicode", "regex-syntax/default"]
53 perf = ["perf-cache", "perf-dfa", "perf-inline", "perf-literal"]
58 perf-cache = []
60 perf-dfa = []
62 perf-inline = []
64 perf-literal = ["aho-corasick", "memchr"]
71 "unicode-age",
72 "unicode-bool",
73 "unicode-case",
74 "unicode-gencat",
75 "unicode-perl",
76 "unicode-script",
77 "unicode-segment",
78 "regex-syntax/unicode",
81 unicode-age = ["regex-syntax/unicode-age"]
83 unicode-bool = ["regex-syntax/unicode-bool"]
84 # Enables Unicode-aware case insensitive matching, e.g., `(?i)β`.
85 unicode-case = ["regex-syntax/unicode-case"]
87 unicode-gencat = ["regex-syntax/unicode-gencat"]
88 # Enables Unicode-aware Perl classes corresponding to `\w`, `\s` and `\d`.
89 unicode-perl = ["regex-syntax/unicode-perl"]
91 unicode-script = ["regex-syntax/unicode-script"]
93 unicode-segment = ["regex-syntax/unicode-segment"]
108 [dependencies.aho-corasick]
118 [dependencies.regex-syntax]
119 path = "regex-syntax"
121 default-features = false
123 [dev-dependencies]
127 quickcheck = { version = "1.0.3", default-features = false }
128 # For generating random test data.
129 rand = { version = "0.8.3", default-features = false, features = ["getrandom", "small_rng"] }
131 # TODO: Re-enable this once the MSRV is 1.43 or greater.
132 # See: https://github.com/rust-lang/regex/issues/684
133 # See: https://github.com/rust-lang/regex/issues/685
134 # doc-comment = "0.3"
136 # Run the test suite on the default behavior of Regex::new.
138 # based on the regex. We test both of the NFA implementations by forcing their
139 # usage with the test definitions below. (We can't test the DFA implementations
141 [[test]]
146 [[test]]
148 name = "default-bytes"
150 # Run the test suite on the NFA algorithm over Unicode codepoints.
151 [[test]]
155 # Run the test suite on the NFA algorithm over bytes that match UTF-8 only.
156 [[test]]
158 name = "nfa-utf8bytes"
160 # Run the test suite on the NFA algorithm over arbitrary bytes.
161 [[test]]
163 name = "nfa-bytes"
165 # Run the test suite on the backtracking engine over Unicode codepoints.
166 [[test]]
170 # Run the test suite on the backtracking engine over bytes that match UTF-8
172 [[test]]
174 name = "backtrack-utf8bytes"
176 # Run the test suite on the backtracking engine over arbitrary bytes.
177 [[test]]
179 name = "backtrack-bytes"
183 [[test]]
185 name = "crates-regex"
193 [profile.test]