Crate features / fancy-regex
Feature flags · fancy-regex 0.19.2 · from crates.io 2026-10-24
fancy-regex features: what each one does, and the line to copy
Short answerfancy-regex 0.19.2 has 7 features. By default it turns on unicode, perf, std, variable-lookbehinds; add default-features = false to start from nothing. It needs Rust 1.66 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
leftmost_longest | nothing else (a switch the code checks) | |
perf | yes | regex-automata/perf |
perf-dfa-full | regex-automata/dfa-build | |
std | yes | regex-automata/std, regex-syntax/std, bit-set/std |
track_caller | nothing else (a switch the code checks) | |
unicode | yes | regex-automata/unicode, regex-syntax/unicode |
variable-lookbehinds | yes | regex-automata/dfa-search |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version fancy-regex declares (rust-version), and the release that changed it:
- 0.13.0 (2023-12-22): Rust 1.66
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p fancy-regex --precise <version>, or use resolver 3, which picks compatible versions for you.
More on fancy-regex
Real downloads, dependents and alternatives: fancy-regex crate data (912.6K real downloads a day, 617 dependents).
docs.rs feature list · crates.io · license MIT · edition 2018
Up next
Before you depend on itfancy-regex crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?