263 releases

Uses new Rust 2024

new 0.0.322 Mar 2, 2026
0.0.317 Jan 26, 2026
0.0.312 Dec 29, 2025
0.0.307 Nov 24, 2025
0.0.26 Nov 30, 2020

#591 in Rust patterns

Download history 5673/week @ 2025-11-13 5748/week @ 2025-11-20 6012/week @ 2025-11-27 5255/week @ 2025-12-04 5165/week @ 2025-12-11 4915/week @ 2025-12-18 4363/week @ 2025-12-25 7074/week @ 2026-01-01 11701/week @ 2026-01-08 11747/week @ 2026-01-15 11101/week @ 2026-01-22 12862/week @ 2026-01-29 14988/week @ 2026-02-05 14803/week @ 2026-02-12 16288/week @ 2026-02-19 16053/week @ 2026-02-26

64,279 downloads per month
Used in 37 crates (6 directly)

MIT/Apache

3MB
79K SLoC

hir_def crate contains everything between macro expansion and type inference.

It defines various items (structs, enums, traits) which comprises Rust code, as well as an algorithm for resolving paths to such entities.

Note that hir_def is a work in progress, so not all of the above is actually true.

Dependencies

~17–30MB
~310K SLoC