Skip to content

Commit 526a45d

Browse files
committed
Bump dep versions and release 0.2.1.
Specifically, we bump the dep on aho-corasick to 0.6.0, which includes a dep on memchr 1.0.0. This avoids compiling two distinct versions of memchr into every regex build. Fixes #324
1 parent a9c52b6 commit 526a45d

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
0.2.1
2+
=====
3+
One major bug with `replace_all` has been fixed along with a couple of other
4+
touchups.
5+
6+
* [BUG #312](https://github.com/rust-lang/regex/issues/312):
7+
Fix documentation for `NoExpand` to reference correct lifetime parameter.
8+
* [BUG #314](https://github.com/rust-lang/regex/issues/314):
9+
Fix a bug with `replace_all` when replacing a match with the empty string.
10+
* [BUG #316](https://github.com/rust-lang/regex/issues/316):
11+
Note a missing breaking change from the `0.2.0` CHANGELOG entry.
12+
(`RegexBuilder::compile` was renamed to `RegexBuilder::build`.)
13+
* [BUG #324](https://github.com/rust-lang/regex/issues/324):
14+
Compiling `regex` should only require one version of `memchr` crate.
15+
116
0.2.0
217
=====
318
This is a new major release of the regex crate, and is an implementation of the

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "regex"
3-
version = "0.2.0" #:version
3+
version = "0.2.1" #:version
44
authors = ["The Rust Project Developers"]
55
license = "MIT/Apache-2.0"
66
readme = "README.md"
@@ -14,17 +14,17 @@ finite automata and guarantees linear time matching on all inputs.
1414

1515
[dependencies]
1616
# For very fast prefix literal matching.
17-
aho-corasick = "0.5.3"
17+
aho-corasick = "0.6.0"
1818
# For skipping along search text quickly when a leading byte is known.
19-
memchr = "1"
19+
memchr = "1.0.0"
2020
# For managing regex caches quickly across multiple threads.
2121
thread_local = "0.3.2"
2222
# For parsing regular expressions.
2323
regex-syntax = { path = "regex-syntax", version = "0.4.0" }
2424
# For accelerating text search.
25-
simd = { version = "0.1.0", optional = true }
25+
simd = { version = "0.1.1", optional = true }
2626
# For compiling UTF-8 decoding into automata.
27-
utf8-ranges = "1"
27+
utf8-ranges = "1.0.0"
2828

2929
[dev-dependencies]
3030
# For examples.

0 commit comments

Comments
 (0)