I have been annoyed for a while that I can't call the Rune extension methods from Rust (when I need them from both locations). I was considering filing a feature request on this, but while looking through rune's own HashMap there is a keep attribute that seems to solve this nicely already.
I have been annoyed for a while that I can't call the Rune extension methods from Rust (when I need them from both locations). I was considering filing a feature request on this, but while looking through rune's own HashMap there is a
keep
attribute that seems to solve this nicely already.But it is not documented in https://rune-rs.github.io/api/rune/attr.function.html
So: Is the docs missing (in which case I will make a PR) or is it an unstable private API (in which case I propose to stabilise it and document it)?