Skip to main content

rust_serde_function_references

Function rust_serde_function_references 

Source
pub fn rust_serde_function_references(
    source: &str,
    root: Node<'_>,
    items: &[RustApiItem],
) -> Vec<String>
Expand description

Functions named by serde field attributes (deserialize_with = "f", serialize_with, default, skip_serializing_if). serde calls them from derived code the callgraph never sees, so they are liveness roots. Each root is the declaration identity the path names from the attribute’s module, so "parse" inside mod config roots config::parse (see rust_serde_root_identity).