Crate sunscreen_compiler_macros

Source
Expand description

This crate contains macros to support the sunscreen compiler.

Attribute Macros§

fhe_program
Specifies a function to be an fhe_program. An fhe_program has any number of inputs that impl the FheType trait and returns either a single type implementing FheType or a tuple of types implementing FheType.
zkp_program
Specifies a function to be a ZKP program. TODO: docs.

Derive Macros§

TypeName
Allows you to #[derive(Typename)].