#borrow-checker #datalog #borrowck #compiler

polonius-engine

Core definition for the Rust borrow checker

17 releases (breaking)

Uses old Rust 2015

0.13.0 Aug 3, 2021
0.12.1 Mar 29, 2020
0.12.0 Feb 17, 2020
0.11.0 Dec 3, 2019
0.5.0 May 31, 2018

#216 in Programming languages

Download history 16570/week @ 2025-10-06 18773/week @ 2025-10-13 19017/week @ 2025-10-20 20633/week @ 2025-10-27 22652/week @ 2025-11-03 14354/week @ 2025-11-10 17041/week @ 2025-11-17 17947/week @ 2025-11-24 14771/week @ 2025-12-01 16051/week @ 2025-12-08 12613/week @ 2025-12-15 9151/week @ 2025-12-22 10054/week @ 2025-12-29 14976/week @ 2026-01-05 13852/week @ 2026-01-12 15337/week @ 2026-01-19

55,361 downloads per month
Used in polonius

Apache-2.0/MIT

92KB
1.5K SLoC

This is a core library that models the borrow check. It implements the analysis described in this blogpost. This library is intended for use both by rustc and by the polonius crate, which is a distinct front-end intended for testing, profiling, etc.

Dependencies

~180KB