#compiler #datalog #borrowck

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

#116 in Programming languages

Download history 15096/week @ 2024-06-16 15260/week @ 2024-06-23 15042/week @ 2024-06-30 14910/week @ 2024-07-07 15941/week @ 2024-07-14 15879/week @ 2024-07-21 15897/week @ 2024-07-28 15192/week @ 2024-08-04 15323/week @ 2024-08-11 14617/week @ 2024-08-18 15051/week @ 2024-08-25 15423/week @ 2024-09-01 14430/week @ 2024-09-08 14656/week @ 2024-09-15 15385/week @ 2024-09-22 12201/week @ 2024-09-29

58,798 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

~170KB