[rust] snippets