NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #419 most downloaded on crates.io
Macros to generate types in the phf crate
Last release 3 months ago
21 Jun 2026
Release timing varies
gaps range from 3 weeks to 1.7 years
Rarely documented
notes for 9 of 54 stable releases
3 versions withdrawn
withdrawn after publishing
12 years old
57 releases · first in 2015
chore: setup cargo-deny by @JohnTitor in #355
fill when resetting generator buffers by @JohnTitor in #402ToTokens by @JohnTitor in #414FmtConst support for Vec/slice keys by @JohnTitor in #416PhfEq to address tuple lifetime issue by @JohnTitor in #420Full Changelog: v0.13.1...v0.14.0
One column per quarter.
feat: migrate to 2024 edition
update cargo.lock
<csr-read-only-do-not-edit/>
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
ef36a8e)9cdce22)c628ed4)fac3dc6)f2405c9)8125795)2b64a06)2629d9b)93febde)1e518a6)6e87a16)a8e8d69)175aae4)4e85433)478afb4)180b9c3)7e65df6)33989be)1e892e8)e4e1556)ceec7a3)a312394)03a9306)4ddbefd)ecd6a86)
</details>Full Changelog : v0.13.0...v0.13.1
Full Changelog: v0.13.0...v0.13.1
This version has been yanked as the dependency tree was broken.
This version has been yanked as the dependency tree was broken.
FromIterator for Map by @JohnTitor in #336Full Changelog: v0.12.1...v0.13.0
chore: Fix test by @JohnTitor in #334
Switch from rand to fastrand by @goffrie in #312
unicase::Ascii by @thaliaarchi in #289Full Changelog: phf-v0.11.3...phf-v0.12.0
This version has been yanked as its dependency graph is broken. Please use v0.12.1 instead.
<csr-id-51d6baaa6ffce658fb9b56a96affaf0ddd0603e5/>
<csr-read-only-do-not-edit/>
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
e309f28)51d6baa)a6df856)2806801)37a7794)33b8aff)576dd47)
</details>See also related crates on Git tags!
See also related crates on Git tags!
PhfBorrow<[u8; N]> for &'a [u8; N] by @TGODiamond in #314Full Changelog: phf-v0.11.2...phf-v0.11.3
<csr-id-9ed628fe2ca954fdc49a93331188a99b58c9363a/> <csr-id-a96a4e29d63fb1ab3cc10e050571e733f5d2d0d1/> <csr-id-3a86c8a152b587aa572bd17e318b3cf61133040d/>
phf_map! and co.<csr-read-only-do-not-edit/>
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
e111f4b)dc64dd6)13581f8)695a0df)a96a4e2)b54c740)3a86c8a)4359e17)323366d)1795f7b)e03f456)9ed628f)
</details>10 commits contributed to the release.
<csr-read-only-do-not-edit/>
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
c9c35fd)a1e5072)3776342)5ec8936)syn to 2.0 (8e3e3e5)8c0d057)21baa73)1229b2f)ea8df2c)b7fd8f1)
</details>remove now-unnecessary proc-macro-hack crate usage Resolves .
<csr-id-d40d663ca96f668bcd6f86cc691085629111c0b5/> <csr-id-8225c4b90d6ee71483304e71342c269fca86a044/>
<csr-id-caf1ce71aed110fb44206ce2291154572ebfe9b7/> remove now-unnecessary proc-macro-hack crate usage
Resolves https://github.com/rust-phf/rust-phf/issues/255.
This resolves an issue with Windows Defender identifying proc-macro-hack as threats. It also sheds
a depedency that is no longer necessary, now that the MSRV of this crate is 1.46 and
proc-macro-hack is only useful for providing support for Rust versions 1.31 through 1.45. Per
upstream:
Note: As of Rust 1.45 this crate is superseded by native support for #[proc_macro] in expression position. Only consider using this crate if you care about supporting compilers between 1.31 and 1.45.
<csr-read-only-do-not-edit/>
<csr-read-only-do-not-edit/>
<details><summary>view details</summary>
3897b21)97f997d)cargo-smart-release (cb84cf6)1407ebe)32a72c3)1af3b0f)c0b9ef9)d2efdc0)36ec885)b9d25da)a85f070)proc-macro-hack crate usage (caf1ce7)2e1167c)11bb242)7b0a313)phf_macros tests as a separated crate (8cf694d)da98b9e)6941e82)d8cfc43)eba4cc2)d9b5ff2)phf dev dep version (3cc6f05)3ea14b2)588ac25)fbb18f9)d527f9d)9b71978)65deaf7)99d3533)c746106)8868d08)50f8a0d)dab668c)29f9100)647f331)phf dev-dep version for now (7dd8a1b)307969f)2ca46c4)a9e4b0a)76f9072)ffa7e41)1adfb30)dd86c6c)ff77659)unicase_support to unicase (b47174b)12121ec)7522b16)9ae1678)0ab0108)ec43f5c)6957e47)77e6cce)a47ac36)[patch.crates-io] section instead of path key (f47515b)7ebc9e7)d7af3dc)5b42ba6)0f1407e)73a6799)e387f69)81c7cc5)4060288)696eee1)1992222)5f86fa4)d40d663)0d00821)8ae2bb8)50c6c75)4a4256c)171f7ed)Display adapters for phf_codegen builders (93aa7ae)70129c6)f1362b2)6e1f6ac)ab473a4)ae649cd)4fc0d1a)cd0d7ce)6749552)5be5919)d41f27d)f46b2e1)ae4ef3e)1287414)588fd1a)5ae4131)a050b6f)e03f536)ab88405)2071d25)fcf758f)e7b5a35)6c7e2d9)8889199)dc756bf)e87e95f)61142c5)9278c47)5947cd1)98f56e5)f106aa6)f631f50)2f509ca)39cc485)ea7e256)81a4806)0a98dd1)969bcd5)b7d2d4d)ecab54b)dfa970b)3f71765)81f2a5d)35e991b)5f08563)e073dd2)21ecf72)d4b788d)cb1ec95)bf472f2)df0d8e8)711515a)2af3abb)839f06d)6f5575c)8bf29c1)ce387c3)f404629)b4ec398)6bbc9e2)20f896e)7c692d4)ea8dd65)fee66fc)0cc3844)d9351e1)b582e4e)4769a6d)6d17c1f)c995514)5659a9d)2f0a5de)9b75ee5)75606bc)652beae)87ffab8)7260d04)a004227)4791e96)82da9f0)771e781)1579bec)25cea13)c43154b)3be2db8)2c67ce5)87206e1)b7d29df)260437e)ba8d701)cd33902)8bc23a0)aad0b9b)2cc2ed3)a6c43fa)dccff69)2d988b7)c9e7a93)8185728)4c51ffc)58e2223)776046c)2ea7d5c)5bcd5c9)1f770df)bb65b8c)fda44f5)fc1f6b0)8225c4b)a2486ed)e879788)9585cc3)269b5dc)7c093e8)c7c0d3c)96ef156)77ea239)642b69d)f51f449)9cb9de9)6c98e9f)555a690)e215273)5810d30)36efc72)eabadcf)271ccc2)ede14df)f54adb7)cf64ebb)4fdb533)4d28684)59ca586)6567152)e1e6d3b)fc45373)4605db3)8eca797)cfeee87)40dbc32)822f4e3)0c04b9c)cd637ca)bfc36c9)5ff7040)5aac93b)f6922e2)b09a174)271e784)f8ef160)6866c1b)2ee5f78)9b9c009)3150bf0)b0c5e3c)9e1623b)d9ddf45)ca0e9f6)f7fb510)09d6870)c50d107)
</details>Nothing published for this version
Constify len and is_empty ([#224])
Yanked except for `phf-generator`, use 0.10.0 instead.
Yanked except for phf-generator, use 0.10.0 instead.
criterion version to keep MSRVlen and is_empty ([#224]) (yanked)Clone, Debug, and FusedIterator ([#226]) (yanked)(breaking change) Use PhfBorrow trait instead of std::Borrow
rand dependency has been upgraded to 0.8no_stdunicase feature for phf_macrosString type for phf dynamic code generationOrderedMap and OrderedSetPhfBorrow trait instead of std::borrow::Borrow(breaking change) The core features of phf and phf_shared have been changed to std default-features.
phf_macros now works on stable.core features of phf and phf_shared have been changed to std default-features.phf_codegen can be used with formatting macros via their Display impls and the build() methods no longer take &mut Write.OrderedMap and OrderedSet types and the phf_builder crate have been removed due to lack of use.unicase dependency has been upgraded to 2.4.0Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →