---
title: "phf 0.14.0 Breaking Changes on crates.io | Since.dev"
description: "What each phf release removed, renamed or changed: 33 breaking changes in 2 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/phf
last_updated: 2026-12-04
---

# phf breaking changes

phf 0.14.0 (June 21, 2026) is its newest release with breaking changes, 32 of them. The first: Removed phf::Map::disps. Every breaking API change we have recorded in phf on crates.io: 33 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.14.0`, released June 21, 2026. [Source repository](https://github.com/rust-phf/rust-phf)

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

- From [0.11.0](#v-0-11-0) to [0.14.0](#v-0-14-0): 32 breaking changes in 1 version.

## phf 0.14.0 breaking changes

phf 0.14.0, released June 21, 2026: 32 breaking changes.

- **Removed** `phf::Map::disps`  

phf::Map::disps was removed in phf 0.14.0 [crates.io](https://crates.io/crates/phf/0.14.0)
- **Removed** `phf::map::Map::disps`  

phf::map::Map::disps was removed in phf 0.14.0 [crates.io](https://crates.io/crates/phf/0.14.0)
- **Removed** `phf::ordered_map::OrderedMap::disps`  

phf::ordered_map::OrderedMap::disps was removed in phf 0.14.0 [crates.io](https://crates.io/crates/phf/0.14.0)
- **Removed** `phf::OrderedMap::disps`  

phf::OrderedMap::disps was removed in phf 0.14.0 [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::Map::contains_key`  

Was fn contains_key\<T>(&self, key: &T) -> bool where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn contains_key\<T>(&self, key: &T) -> bool where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::Map::get`  

Was fn get\<T>(&self, key: &T) -> Option<&V> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get\<T>(&self, key: &T) -> Option<&V> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::Map::get_entry`  

Was fn get_entry\<T>(&self, key: &T) -> Option<(&K, &V)> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get_entry\<T>(&self, key: &T) -> Option<(&K, &V)> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::Map::get_key`  

Was fn get_key\<T>(&self, key: &T) -> Option<&K> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get_key\<T>(&self, key: &T) -> Option<&K> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::map::Map::contains_key`  

Was fn contains_key\<T>(&self, key: &T) -> bool where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn contains_key\<T>(&self, key: &T) -> bool where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::map::Map::get`  

Was fn get\<T>(&self, key: &T) -> Option<&V> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get\<T>(&self, key: &T) -> Option<&V> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::map::Map::get_entry`  

Was fn get_entry\<T>(&self, key: &T) -> Option<(&K, &V)> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get_entry\<T>(&self, key: &T) -> Option<(&K, &V)> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::map::Map::get_key`  

Was fn get_key\<T>(&self, key: &T) -> Option<&K> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get_key\<T>(&self, key: &T) -> Option<&K> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::ordered_map::OrderedMap::contains_key`  

Was fn contains_key\<T>(&self, key: &T) -> bool where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn contains_key\<T>(&self, key: &T) -> bool where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::ordered_map::OrderedMap::get`  

Was fn get\<T>(&self, key: &T) -> Option<&V> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get\<T>(&self, key: &T) -> Option<&V> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::ordered_map::OrderedMap::get_entry`  

Was fn get_entry\<T>(&self, key: &T) -> Option<(&K, &V)> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get_entry\<T>(&self, key: &T) -> Option<(&K, &V)> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::ordered_map::OrderedMap::get_index`  

Was fn get_index\<T>(&self, key: &T) -> Option\<usize> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get_index\<T>(&self, key: &T) -> Option\<usize> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::ordered_map::OrderedMap::get_key`  

Was fn get_key\<T>(&self, key: &T) -> Option<&K> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get_key\<T>(&self, key: &T) -> Option<&K> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::ordered_set::OrderedSet::contains`  

Was fn contains\<U>(&self, value: &U) -> bool where U: Eq + PhfHash + ?Sized, T: PhfBorrow\<U>,; now fn contains\<U>(&self, value: &U) -> bool where U: Eq + PhfHash + ?Sized, T: PhfEq\<U>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::ordered_set::OrderedSet::get_index`  

Was fn get_index\<U>(&self, key: &U) -> Option\<usize> where U: Eq + PhfHash + ?Sized, T: PhfBorrow\<U>,; now fn get_index\<U>(&self, key: &U) -> Option\<usize> where U: Eq + PhfHash + ?Sized, T: PhfEq\<U>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::ordered_set::OrderedSet::get_key`  

Was fn get_key\<U>(&self, key: &U) -> Option<&T> where U: Eq + PhfHash + ?Sized, T: PhfBorrow\<U>,; now fn get_key\<U>(&self, key: &U) -> Option<&T> where U: Eq + PhfHash + ?Sized, T: PhfEq\<U>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::OrderedMap::contains_key`  

Was fn contains_key\<T>(&self, key: &T) -> bool where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn contains_key\<T>(&self, key: &T) -> bool where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::OrderedMap::get`  

Was fn get\<T>(&self, key: &T) -> Option<&V> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get\<T>(&self, key: &T) -> Option<&V> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::OrderedMap::get_entry`  

Was fn get_entry\<T>(&self, key: &T) -> Option<(&K, &V)> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get_entry\<T>(&self, key: &T) -> Option<(&K, &V)> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::OrderedMap::get_index`  

Was fn get_index\<T>(&self, key: &T) -> Option\<usize> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get_index\<T>(&self, key: &T) -> Option\<usize> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::OrderedMap::get_key`  

Was fn get_key\<T>(&self, key: &T) -> Option<&K> where T: Eq + PhfHash + ?Sized, K: PhfBorrow\<T>,; now fn get_key\<T>(&self, key: &T) -> Option<&K> where T: Eq + PhfHash + ?Sized, K: PhfEq\<T>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::OrderedSet::contains`  

Was fn contains\<U>(&self, value: &U) -> bool where U: Eq + PhfHash + ?Sized, T: PhfBorrow\<U>,; now fn contains\<U>(&self, value: &U) -> bool where U: Eq + PhfHash + ?Sized, T: PhfEq\<U>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::OrderedSet::get_index`  

Was fn get_index\<U>(&self, key: &U) -> Option\<usize> where U: Eq + PhfHash + ?Sized, T: PhfBorrow\<U>,; now fn get_index\<U>(&self, key: &U) -> Option\<usize> where U: Eq + PhfHash + ?Sized, T: PhfEq\<U>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::OrderedSet::get_key`  

Was fn get_key\<U>(&self, key: &U) -> Option<&T> where U: Eq + PhfHash + ?Sized, T: PhfBorrow\<U>,; now fn get_key\<U>(&self, key: &U) -> Option<&T> where U: Eq + PhfHash + ?Sized, T: PhfEq\<U>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::Set::contains`  

Was fn contains\<U>(&self, value: &U) -> bool where U: Eq + PhfHash + ?Sized, T: PhfBorrow\<U>,; now fn contains\<U>(&self, value: &U) -> bool where U: Eq + PhfHash + ?Sized, T: PhfEq\<U>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::Set::get_key`  

Was fn get_key\<U>(&self, key: &U) -> Option<&T> where U: Eq + PhfHash + ?Sized, T: PhfBorrow\<U>,; now fn get_key\<U>(&self, key: &U) -> Option<&T> where U: Eq + PhfHash + ?Sized, T: PhfEq\<U>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::set::Set::contains`  

Was fn contains\<U>(&self, value: &U) -> bool where U: Eq + PhfHash + ?Sized, T: PhfBorrow\<U>,; now fn contains\<U>(&self, value: &U) -> bool where U: Eq + PhfHash + ?Sized, T: PhfEq\<U>,. [crates.io](https://crates.io/crates/phf/0.14.0)
- **Signature changed** `phf::set::Set::get_key`  

Was fn get_key\<U>(&self, key: &U) -> Option<&T> where U: Eq + PhfHash + ?Sized, T: PhfBorrow\<U>,; now fn get_key\<U>(&self, key: &U) -> Option<&T> where U: Eq + PhfHash + ?Sized, T: PhfEq\<U>,. [crates.io](https://crates.io/crates/phf/0.14.0)

## phf 0.11.0 breaking changes

phf 0.11.0, released July 15, 2022: 1 breaking change.

- **Behavior changed**  

Users on Rust toolchains older than 1.60 must upgrade to Rust 1.60 or later to build this release. [github.com](https://github.com/rust-phf/rust-phf/blob/v0.11.0/CHANGELOG.md)

## 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.
