---
title: "aho-corasick 1.0.0 Breaking Changes on crates.io | Since.dev"
description: "What each aho-corasick release removed, renamed or changed: 35 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/aho-corasick
last_updated: 2026-12-04
---

# aho-corasick breaking changes

aho-corasick 1.0.0 (April 17, 2023) is its newest release with breaking changes, 35 of them. The first: Removed aho_corasick::AhoCorasick::earliest_find. Every breaking API change we have recorded in aho-corasick on crates.io: 35 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.1.5`, released August 3, 2026. [Source repository](https://github.com/BurntSushi/aho-corasick)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## aho-corasick 1.0.0 breaking changes

aho-corasick 1.0.0, released April 17, 2023: 35 breaking changes.

- **Removed** `aho_corasick::AhoCorasick::earliest_find`  

aho_corasick::AhoCorasick::earliest_find was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::AhoCorasick::heap_bytes`  

aho_corasick::AhoCorasick::heap_bytes was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::AhoCorasick::new_auto_configured`  

aho_corasick::AhoCorasick::new_auto_configured was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::AhoCorasick::pattern_count`  

aho_corasick::AhoCorasick::pattern_count was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::AhoCorasick::stream_replace_all`  

aho_corasick::AhoCorasick::stream_replace_all was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::AhoCorasick::stream_replace_all_with`  

aho_corasick::AhoCorasick::stream_replace_all_with was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::AhoCorasick::supports_overlapping`  

aho_corasick::AhoCorasick::supports_overlapping was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::AhoCorasick::supports_stream`  

aho_corasick::AhoCorasick::supports_stream was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::AhoCorasickBuilder::anchored`  

aho_corasick::AhoCorasickBuilder::anchored was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::AhoCorasickBuilder::auto_configure`  

aho_corasick::AhoCorasickBuilder::auto_configure was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::AhoCorasickBuilder::build_with_size`  

aho_corasick::AhoCorasickBuilder::build_with_size was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::AhoCorasickBuilder::dfa`  

aho_corasick::AhoCorasickBuilder::dfa was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::AhoCorasickBuilder::premultiply`  

aho_corasick::AhoCorasickBuilder::premultiply was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::Error`  

aho_corasick::Error was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::ErrorKind`  

aho_corasick::ErrorKind was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::MatchKind::__Nonexhaustive`  

aho_corasick::MatchKind::\_\_Nonexhaustive was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::packed::MatchKind::__Nonexhaustive`  

aho_corasick::packed::MatchKind::\_\_Nonexhaustive was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::packed::Searcher::find_at`  

aho_corasick::packed::Searcher::find_at was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Removed** `aho_corasick::StateID`  

aho_corasick::StateID was removed in aho-corasick 1.0.0 [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Renamed** `aho_corasick::packed::Searcher::heap_bytes`  

Use aho_corasick::packed::Searcher::memory_usage instead. [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::AhoCorasick`  

Was struct AhoCorasick\<S: StateID = usize>; now struct AhoCorasick. [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::AhoCorasick::find`  

Was fn find\<B: AsRef<\[u8\]>>(&self, haystack: B) -> Option\<Match>; now fn find<'h, I: Into\<Input<'h>>>(&self, input: I) -> Option\<Match>. [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::AhoCorasick::find_iter`  

Was fn find_iter<'a, 'b, B: ?Sized + AsRef<\[u8\]>>(&'a self, haystack: &'b B) -> FindIter<'a, 'b, S>; now fn find_iter<'a, 'h, I: Into\<Input<'h>>>(&'a self, input: I) -> FindIter<'a, 'h>. [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::AhoCorasick::find_overlapping_iter`  

Was fn find_overlapping_iter<'a, 'b, B: ?Sized + AsRef<\[u8\]>>(&'a self, haystack: &'b B) -> FindOverlappingIter<'a, 'b, S>; now fn find_overlapping_iter<'a, 'h, I: Into\<Input<'h>>>(&'a self, input: I) -> FindOverlappingIter<'a, 'h>. [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::AhoCorasick::is_match`  

Was fn is_match\<B: AsRef<\[u8\]>>(&self, haystack: B) -> bool; now fn is_match<'h, I: Into\<Input<'h>>>(&self, input: I) -> bool. [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::AhoCorasick::match_kind`  

Was fn match_kind(&self) -> &MatchKind; now fn match_kind(&self) -> MatchKind. [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::AhoCorasick::new`  

Was fn new\<I, P>(patterns: I) -> AhoCorasick where I: IntoIterator\<Item = P>, P: AsRef<\[u8\]>,; now fn new\<I, P>(patterns: I) -> Result\<AhoCorasick, BuildError> where I: IntoIterator\<Item = P>, P: AsRef<\[u8\]>,. [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::AhoCorasick::replace_all_with`  

Was fn replace_all_with\<F>(&self, haystack: &str, dst: &mut String, mut replace_with: F) where F: FnMut(&Match, &str, &mut String) -> bool,; now fn replace_all_with\<F>(&self, haystack: &str, dst: &mut String, replace_with: F) where F... [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::AhoCorasick::replace_all_with_bytes`  

Was fn replace_all_with_bytes\<F>(&self, haystack: &\[u8\], dst: &mut Vec\<u8>, mut replace_with: F) where F: FnMut(&Match, &\[u8\], &mut Vec\<u8>) -> bool,; now fn replace_all_with_bytes\<F>(&self, haystack: &\[u8\], dst: &mut Vec\<u8>... [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::AhoCorasick::stream_find_iter`  

Was fn stream_find_iter<'a, R: io::Read>(&'a self, rdr: R) -> StreamFindIter<'a, R, S>; now fn stream_find_iter<'a, R: std::io::Read>(&'a self, rdr: R) -> StreamFindIter<'a, R>. [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::AhoCorasickBuilder::build`  

Was fn build\<I, P>(&self, patterns: I) -> AhoCorasick where I: IntoIterator\<Item = P>, P: AsRef<\[u8\]>,; now fn build\<I, P>(&self, patterns: I) -> Result\<AhoCorasick, BuildError> where I: IntoIterator\<Item = P>, P: AsRef<\[u8\]>,. [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::FindIter`  

Was struct FindIter<'a, 'b, S: StateID>; now struct FindIter<'a, 'h>(automaton::FindIter<'a, 'h, Arc\<dyn AcAutomaton>>). [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::FindOverlappingIter`  

Was struct FindOverlappingIter<'a, 'b, S: StateID>; now struct FindOverlappingIter<'a, 'h>(automaton::FindOverlappingIter<'a, 'h, Arc\<dyn AcAutomaton>>). [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::Match::pattern`  

Was fn pattern(&self) -> usize; now fn pattern(&self) -> PatternID. [crates.io](https://crates.io/crates/aho-corasick/1.0.0)
- **Signature changed** `aho_corasick::StreamFindIter`  

Was struct StreamFindIter<'a, R, S: StateID>; now struct StreamFindIter<'a, R>(automaton::StreamFindIter<'a, Arc\<dyn AcAutomaton>, R>). [crates.io](https://crates.io/crates/aho-corasick/1.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
