Inquiry regarding contributing a Rust-based package to TeX Live

Zeping Lee <[email protected]> Thu, 5 Mar 2026 19:41:36 +0800
Newsgroups gmane.comp.tex.live
Message-ID <[email protected]>
Hi everyone,

I am writing to inquire about the feasibility of contributing a citation
package (Citum) to TeX Live that utilizes a Rust library.

For those who haven't heard of it yet, Citum (https://citum.org/) is a citation
system designed as the successor to Citation Style Language (CSL). It is
currently being developed by Bruce D’Arcus, the creator of CSL. The core engine
(https://github.com/citum/citum-core) is written in Rust and is designed
to be integrated with other languages via FFI. This allows us to share a
single, high-performance engine across applications like LuaTeX and Typst.

Below is a proof-of-concept for LuaTeX:
https://github.com/citum/citum-labs/tree/main/bindings/latex
The implementation consists of a .sty file and a Lua module that loads the
compiled libcitum_engine.so (or .dll, .dylib) via FFI.

As the author of the pure-Lua `citeproc-lua` and the `citation-style-language`
package, I’m planning to transition the backend to Citum.

The Question:
I’ve checked the contribution guidelines of TeX Live, but they mostly focus on
C/C++ for binaries (https://www.tug.org/texlive/pkgcontrib.html). Since Citum
is written in Rust, I would like to ask: Does TeX Live accept a package that
contains a library written in Rust?

Best regards,

Zeping Lee