Crate encrust_macros
source ·Expand description
Crate implementing macros for encrust
. See the main crate for
documentation.
Macros
- Encrust a literal value so the actual data is encrypted before being included in the binary.
- Read the contents of a file into a
u8
array and encrust it so the actual file contents is encrypted before being included in the binary. - Read the contents of a file into a String and encrust it so the actual file contents is encrypted before being included in the binary.
- Encrust a vec of literals. This works similarly to
encrust!
and supports the same data types, but puts the data in avec
.
Derive Macros
- Derive macro to allow custom
struct
s andenum
s to be encrusted.