Skip to content

Commit

Permalink
Bump dep versions and release 0.2.1.
Browse files Browse the repository at this point in the history
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 rust-lang#324
  • Loading branch information
BurntSushi committed Jan 2, 2017
1 parent a9c52b6 commit 526a45d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
0.2.1
=====
One major bug with `replace_all` has been fixed along with a couple of other
touchups.

* [BUG #312](https://github.com/rust-lang/regex/issues/312):
Fix documentation for `NoExpand` to reference correct lifetime parameter.
* [BUG #314](https://github.com/rust-lang/regex/issues/314):
Fix a bug with `replace_all` when replacing a match with the empty string.
* [BUG #316](https://github.com/rust-lang/regex/issues/316):
Note a missing breaking change from the `0.2.0` CHANGELOG entry.
(`RegexBuilder::compile` was renamed to `RegexBuilder::build`.)
* [BUG #324](https://github.com/rust-lang/regex/issues/324):
Compiling `regex` should only require one version of `memchr` crate.

0.2.0
=====
This is a new major release of the regex crate, and is an implementation of the
Expand Down
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "regex"
version = "0.2.0" #:version
version = "0.2.1" #:version
authors = ["The Rust Project Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand All @@ -14,17 +14,17 @@ finite automata and guarantees linear time matching on all inputs.

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

[dev-dependencies]
# For examples.
Expand Down

0 comments on commit 526a45d

Please sign in to comment.