File tree Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Expand file tree Collapse file tree 4 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 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+
1160.2.0
217=====
318This is a new major release of the regex crate, and is an implementation of the
Original file line number Diff line number Diff line change 11[package ]
22name = " regex"
3- version = " 0.2.0 " # :version
3+ version = " 0.2.1 " # :version
44authors = [" The Rust Project Developers" ]
55license = " MIT/Apache-2.0"
66readme = " 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.
2121thread_local = " 0.3.2"
2222# For parsing regular expressions.
2323regex-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.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ cargo doc --verbose --manifest-path regex-syntax/Cargo.toml
2424# Run tests on regex-capi crate.
2525cargo build --verbose --manifest-path regex-capi/Cargo.toml
2626(cd regex-capi/ctest && ./compile && LD_LIBRARY_PATH=../target/debug ./test)
27- (cd regex-capi/examples && ./compile && LD_LIBRARY_PATH=../target/release ./iter)
27+ (cd regex-capi/examples && ./compile && LD_LIBRARY_PATH=../target/debug ./iter)
2828
2929# Make sure benchmarks compile. Don't run them though because they take a
3030# very long time.
Original file line number Diff line number Diff line change 22
33set -ex
44
5- cargo build --release --manifest-path ../Cargo.toml
6- gcc -O3 -DDEBUG -o iter iter.c -ansi -Wall -I../include -L../target/release -lrure
5+ # N.B. Add `--release` flag to `cargo build` to make the example run faster.
6+ cargo build --manifest-path ../Cargo.toml
7+ gcc -O3 -DDEBUG -o iter iter.c -ansi -Wall -I../include -L../target/debug -lrure
78# If you're using librure.a, then you'll need to link other stuff:
89# -lutil -ldl -lpthread -lgcc_s -lc -lm -lrt -lutil -lrure
You can’t perform that action at this time.
0 commit comments