mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-12 21:42:13 +00:00
In the previous commit, the new materialize_to_lua_value function is used by from_lua_value to allow processing userdata into specific types known at compile time. In the mod-serde lua module we have a similar desire to handle userdata, but we do not have a concrete rust type and dont call into from_lua_value. This commit causes the serialization functions in mod-serde to explicitly call into materialize_to_lua_value as part of their serialization logic.