4 releases (2 breaking)

0.7.0 Oct 17, 2022
0.6.1 Jul 14, 2022
0.6.0 Jul 14, 2022
0.5.0 May 17, 2022

#924 in Cryptography

Download history 3/week @ 2022-11-27 5/week @ 2022-12-04 11/week @ 2022-12-11 4/week @ 2022-12-18 6/week @ 2022-12-25 1/week @ 2023-01-01 6/week @ 2023-01-08 9/week @ 2023-01-15 13/week @ 2023-01-22 11/week @ 2023-01-29 12/week @ 2023-02-05 9/week @ 2023-02-12 18/week @ 2023-02-19 6/week @ 2023-02-26 4/week @ 2023-03-05 39/week @ 2023-03-12

67 downloads per month
Used in sunscreen

AGPL-3.0-only

13MB
256K SLoC

C++ 102K SLoC // 0.1% comments C 93K SLoC // 0.2% comments Visual Studio Project 21K SLoC C# 14K SLoC // 0.3% comments Python 10K SLoC // 0.3% comments Rust 7K SLoC // 0.2% comments Shell 3K SLoC // 0.2% comments Ada 1.5K SLoC // 0.2% comments GNU Style Assembly 1.5K SLoC // 0.3% comments Assembly 1.5K SLoC // 0.2% comments Pascal 1K SLoC // 0.2% comments Visual Studio Solution 878 SLoC Batch 169 SLoC Prolog 161 SLoC Lua 68 SLoC // 0.0% comments Automake 33 SLoC

This crate is a component of the Sunscreen compiler.


lib.rs:

This crate contains the backend compiler for sunscreen FHE programs. It includes the following useful operations:

  • [compile] takes either an FHE program from the compiler frontend and applies a set of transformations.

Dependencies

~5–9MB
~199K SLoC