Rust has a fantastic tool in maturin GitHub - PyO3/maturin: Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages in order to write libraries in Rust but provide them as Python packages.
This is being used with great success by the Ruff / uv projects GitHub - astral-sh/ruff: An extremely fast Python linter and code formatter, written in Rust.
It’s fantastic since this allows your library to reach out users that otherwise wouldn’t use them. Is there anything similar for zig?
Zig already provides cross-compilation to multiple targets, so for executables this seems like a simpler problem to solve as you just need to package different executables for each target you want to support (?) but for libraries the problem seeems a bit more difficult.
Does anyone know of already existing tools? Or how easy it would be to implement something similar?
Note: interesting talk https://www.youtube.com/watch?v=O0MmmZxdct4