NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #4658 most downloaded on crates.io
Generates random strings and byte strings matching a regex
Last release 7 months ago
24 Feb 2026
Release timing varies
gaps range from 4 weeks to 2.5 years
Nearly every release is documented
notes for 13 of 13 stable releases
1 version withdrawn
withdrawn after publishing
8 years old
14 releases · first in 2018
Depends on rand 0.10 and regex-syntax 0.8 .
Updated rand dependency.
Depends on rand 0.10 and regex-syntax 0.8.
Compiling unsatisfiable regex (e.g. empty character class [a&&b] ) now reports an error rather than panicking ( #12 ).
Compiling unsatisfiable regex (e.g. empty character class [a&&b]) now reports an error rather than panicking (#12).
Compiling unsatisfiable regex (e.g. empty character class [a&&b]) now reports
an error rather than panicking.
One column per quarter.
Dpeneds on rand 0.9 and regex-syntax 0.8 .
Updated rand dependency.
Dpeneds on rand 0.9 and regex-syntax 0.8.
Updated regex-syntax dependency.
Updated regex-syntax dependency.
Depends on rand 0.8 and regex-syntax 0.8.
Updated regex-syntax dependency.
Updated regex-syntax dependency.
Depends on rand 0.8 and regex-syntax 0.7. The minimal Rust version is 1.71.1.
No longer enables all default rand features.
No longer enables all default rand features.
Depends on rand 0.8 and regex_syntax 0.6 . The minimal Rust version is 1.40.
Updated rand dependency.
Depends on rand 0.8 and regex_syntax 0.6. The minimal Rust version is 1.40.
Added Regex::is_ascii() method to check if the regex is ASCII-only.
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.
Added impl Distribution<Result<String, FromUtf8Error>> for Regex .
Added impl Distribution<Result<String, FromUtf8Error>> for Regex.
Added an additional impl Distribution<Result<String, FromUtf8Error>> for Regex.
Increased minimal Rust version.
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 |
Depends on rand 0.7 and regex_syntax 0.6. The minimal Rust version is 1.32.
Updated rand dependency.
Depends on rand 0.7 and regex_syntax 0.6. The minimal Rust version is 1.32.
Nothing published for this version
Depends on rand 0.6 and regex_syntax 0.6. The minimal Rust version is 1.30.
Updated rand dependency.
Depends on rand 0.6 and regex_syntax 0.6. The minimal Rust version is 1.30.
Depends on rand 0.5 and regex_syntax 0.6. The minimal Rust version is 1.30.
Initial version.
Depends on rand 0.5 and regex_syntax 0.6. The minimal Rust version is 1.30.
Your coding agent can read these notes before it upgrades. Set up the MCP server →