Re: Inquiry regarding contributing a Rust-based package to TeX Live

Karl Berry <[email protected]> Thu, 5 Mar 2026 14:33:50 -0700
Newsgroups gmane.comp.tex.live
Message-ID <[email protected]>
Hi Zeping - unfortunately I don't see any realistic prospects for
supporting Rust in the TL build, barring some new volunteer getting
seriously involved.

    mostly focus on C/C++ for binaries
    (https://www.tug.org/texlive/pkgcontrib.html)

Indeed, I wrote one brief line on that web page:
"we support only C and C++". (No problem that you missed it.)
I'll add a caveat about "barring volunteers ...".

    compiled libcitum_engine.so (or .dll, .dylib) via FFI.

Apart from Rust, loading a shared lib is inherently insecure. Therefore
doing so would require users of your package to always enable
--shell-escape, which is completely undesirable. We've spent years
trying to make it practical for users to avoid routinely enabling shell
escape. I urge you to reconsider your options. --best, karl.