Skip to content

Releases: kennytm/rand_regex

v0.16.0

04 Aug 10:08
Compare
Choose a tag to compare

Updated regex-syntax dependency.

Depends on rand 0.8 and regex-syntax 0.7. The minimal Rust version is 1.71.1.

v0.15.1

12 Feb 15:27
0f34f06
Compare
Choose a tag to compare

No longer enables all default rand features.

v0.15.0

12 Feb 15:23
731e298
Compare
Choose a tag to compare

Updated rand dependency.

Depends on rand 0.8 and regex_syntax 0.6. The minimal Rust version is 1.40.

v0.14.2

01 Feb 18:53
2a2de32
Compare
Choose a tag to compare

Added Regex::is_ascii() method to check if the regex is ASCII-only.

Added type Encoding to represent ASCII, UTF-8 or binary encoding.
Added Regex::encoding() method to return the narrowest string encoding.

Added type EncodedString to adjoin a byte string with its encoding.
Added an additional impl Distribution<EncodedString> for Regex.

v0.14.1

27 Jan 10:41
6478cfc
Compare
Choose a tag to compare

Added impl Distribution<Result<String, FromUtf8Error>> for Regex.

v0.14.0

24 Jan 20:40
5322834
Compare
Choose a tag to compare

Increased minimal Rust version.

Depends on rand 0.7 and regex_syntax 0.6. The minimal Rust version is 1.40.

Improved generation algorithm. Sampling performance of regex involving lots of character classes are greatly improved.

Regex v0.13.1 v0.14.0
[0-9a-zA-Z]{10,20} 268 ns 150 ns
(?s:.{10}) 209 ns 190 ns

v0.13.1

24 Jan 20:38
5e0d0e7
Compare
Choose a tag to compare

Updated rand dependency.

Depends on rand 0.7 and regex_syntax 0.6. The minimal Rust version is 1.32.

v0.12.0

25 Nov 04:12
b929bc7
Compare
Choose a tag to compare

Updated rand dependency.

Depends on rand 0.6 and regex_syntax 0.6.

v0.11.0

25 Nov 04:11
211412d
Compare
Choose a tag to compare

Initial version.

Depends on rand 0.5 and regex_syntax 0.6.