Crate untrusted_value_derive

Source
Expand description

This crate contains the proc macro definitions for the untrusted_value crate.

All proc macros are reexported in the untrusted_value crate, so you should properly use that crate instead.

See also the main repo at https://github.com/0xCCF4/UntrustedValue.

Attribute Macros§

untrusted_inputs
This macro can be used to annotate functions to automatically wrap the function arguments as UntrustedValue<ArgType>.
untrusted_output
This macro can be used to annotate functions to automatically wrap the function output as UntrustedValue<ReturnType>.

Derive Macros§

SanitizeValue
This macro can be used to annotate structs and automatically implement the untrusted_value::SanitizeValue trait.
UntrustedVariant
This macro can be used to annotate struct that contains data that might be untrusted.