diff --git a/CHANGELOG.md b/CHANGELOG.md index 420e08f74..38da512ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +1.10.3 (TBD) +============ +This is a new patch release that fixes the feature configuration of optional +dependencies. + +Bug fixes: + +* [BUG #1147](https://github.com/rust-lang/regex/issues/1147): +Set `default-features=false` for the `memchr` and `aho-corasick` dependencies. + + 1.10.2 (2023-10-16) =================== This is a new patch release that fixes a search regression where incorrect diff --git a/Cargo.toml b/Cargo.toml index 3ba14c904..09f70f6d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -165,11 +165,13 @@ pattern = [] [dependencies.aho-corasick] version = "1.0.0" optional = true +default-features = false # For skipping along search text quickly when a leading byte is known. [dependencies.memchr] version = "2.6.0" optional = true +default-features = false # For the actual regex engines. [dependencies.regex-automata]