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§
- Sanitize
Value - This macro can be used to annotate structs and automatically implement
the
untrusted_value::SanitizeValue
trait. - Untrusted
Variant - This macro can be used to annotate struct that contains data that might be untrusted.