#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

#140 in Programming languages

Download history 15914/week @ 2024-07-27 15177/week @ 2024-08-03 15413/week @ 2024-08-10 14537/week @ 2024-08-17 15107/week @ 2024-08-24 15332/week @ 2024-08-31 14563/week @ 2024-09-07 14414/week @ 2024-09-14 15733/week @ 2024-09-21 14053/week @ 2024-09-28 15467/week @ 2024-10-05 14650/week @ 2024-10-12 16042/week @ 2024-10-19 16456/week @ 2024-10-26 16705/week @ 2024-11-02 17810/week @ 2024-11-09

68,855 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