Lines Matching +full:cache +full:- +full:dependency +full:- +full:path
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",
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"]
56 # dependency and use a slower internal cache, but now the default cache has
57 # been improved and thread_local is no longer a dependency at all.
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 }
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"
142 path = "tests/test_default.rs"
147 path = "tests/test_default_bytes.rs"
148 name = "default-bytes"
152 path = "tests/test_nfa.rs"
155 # Run the test suite on the NFA algorithm over bytes that match UTF-8 only.
157 path = "tests/test_nfa_utf8bytes.rs"
158 name = "nfa-utf8bytes"
162 path = "tests/test_nfa_bytes.rs"
163 name = "nfa-bytes"
167 path = "tests/test_backtrack.rs"
170 # Run the test suite on the backtracking engine over bytes that match UTF-8
173 path = "tests/test_backtrack_utf8bytes.rs"
174 name = "backtrack-utf8bytes"
178 path = "tests/test_backtrack_bytes.rs"
179 name = "backtrack-bytes"
184 path = "tests/test_crates_regex.rs"
185 name = "crates-regex"