Upgrade rust/crates/regex to 1.4.5
Test: make
Change-Id: I1d9343bd9712ddd57023af2c5d248993a2c31088
diff --git a/src/lib.rs b/src/lib.rs
index d3dc58d..357ac0d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -253,7 +253,7 @@
```
For a more detailed breakdown of Unicode support with respect to
-[UTS#18](http://unicode.org/reports/tr18/),
+[UTS#18](https://unicode.org/reports/tr18/),
please see the
[UNICODE](https://github.com/rust-lang/regex/blob/master/UNICODE.md)
document in the root of the regex repository.
@@ -455,7 +455,7 @@
## Perl character classes (Unicode friendly)
These classes are based on the definitions provided in
-[UTS#18](http://www.unicode.org/reports/tr18/#Compatibility_Properties):
+[UTS#18](https://www.unicode.org/reports/tr18/#Compatibility_Properties):
<pre class="rust">
\d digit (\p{Nd})
@@ -523,11 +523,6 @@
Enables all performance related features. This feature is enabled by default
and will always cover all features that improve performance, even if more
are added in the future.
-* **perf-cache** -
- Enables the use of very fast thread safe caching for internal match state.
- When this is disabled, caching is still used, but with a slower and simpler
- implementation. Disabling this drops the `thread_local` and `lazy_static`
- dependencies.
* **perf-dfa** -
Enables the use of a lazy DFA for matching. The lazy DFA is used to compile
portions of a regex to a very fast DFA on an as-needed basis. This can
@@ -542,6 +537,11 @@
Enables the use of literal optimizations for speeding up matches. In some
cases, literal optimizations can result in speedups of _several_ orders of
magnitude. Disabling this drops the `aho-corasick` and `memchr` dependencies.
+* **perf-cache** -
+ This feature used to enable a faster internal cache at the cost of using
+ additional dependencies, but this is no longer an option. A fast internal
+ cache is now used unconditionally with no additional dependencies. This may
+ change in the future.
### Unicode features
@@ -631,8 +631,6 @@
#[cfg_attr(feature = "perf-literal", macro_use)]
extern crate quickcheck;
extern crate regex_syntax as syntax;
-#[cfg(feature = "perf-cache")]
-extern crate thread_local;
// #[cfg(doctest)]
// doc_comment::doctest!("../README.md");
@@ -749,7 +747,6 @@
}
mod backtrack;
-mod cache;
mod compile;
#[cfg(feature = "perf-dfa")]
mod dfa;
@@ -764,6 +761,7 @@
#[cfg(feature = "pattern")]
mod pattern;
mod pikevm;
+mod pool;
mod prog;
mod re_builder;
mod re_bytes;