I've seen my first non-toy example of Emacs' FFI! https://emacs.stackexchange.com/q/28699/304 (works well, but distribution would be difficult)
miniblog.
Related Posts
@skybert@emacs.ch Difftastic has very little unsafe, just the FFI to tree-sitter libraries.
That said, I've actually seen safe Rust segfault in the past!