• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:all +full:- +full:features

5 license = "MIT OR Apache-2.0"
7 repository = "https://github.com/rust-lang/regex"
9 homepage = "https://github.com/rust-lang/regex"
12 finite automata and guarantees linear time matching on all inputs.
14 categories = ["text-processing"]
21 "bench", "regex-capi", "regex-debug", "regex-syntax",
27 # Doc tests fail when some features aren't present. The easiest way to work
29 # with `cargo test --doc`.
32 # Features are documented in the "Crate features" section of the crate docs:
33 # https://docs.rs/regex/*/#crate-features
34 [features]
35 default = ["std", "perf", "unicode", "regex-syntax/default"]
37 # ECOSYSTEM FEATURES
50 # PERFORMANCE FEATURES
52 # Enables all performance features.
53 perf = ["perf-cache", "perf-dfa", "perf-inline", "perf-literal"]
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"]
67 # UNICODE DATA FEATURES
69 # Enables all Unicode features. This expands if new Unicode features are added.
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"]
96 # UNSTABLE FEATURES (requires Rust nightly)
98 # A blanket feature that governs whether unstable features are enabled or not.
99 # Unstable features are disabled by default, and typically rely on unstable
100 # features in rustc itself.
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"
148 name = "default-bytes"
155 # Run the test suite on the NFA algorithm over bytes that match UTF-8 only.
158 name = "nfa-utf8bytes"
163 name = "nfa-bytes"
170 # Run the test suite on the backtracking engine over bytes that match UTF-8
174 name = "backtrack-utf8bytes"
179 name = "backtrack-bytes"
181 # Run all backends against each regex found on crates.io and make sure
182 # that they all do the same thing.
185 name = "crates-regex"