# Rustler Precompiled

> Ships precompiled Rustler NIFs so Elixir users don't need the Rust toolchain

Source: https://talira.ai/catalog/rustler-precompiled-p39w82b1
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / language bindings](https://talira.ai/categories/developer-tools/language-bindings), [languages / elixir](https://talira.ai/categories/languages/elixir)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Philip Sampaio](https://talira.ai/orgs/philip-sampaio.md)

Rustler Precompiled lets an Elixir package that uses [Rustler](https://talira.ai/catalog/rustler-w0cgm3kr.md) NIFs ship them precompiled, so the people who install it don't need a Rust toolchain. The NIFs are built in CI (the guide uses GitHub Actions releases) for each target and NIF version, and when a user installs the package it downloads the matching artifact and checks it against the SHA-256 checksum file published in the Hex package, which guards against a swapped binary. Rustler itself stays an optional dependency, used only in development.

## Links

- GitHub: https://github.com/philss/rustler_precompiled
- Docs: https://hexdocs.pm/rustler_precompiled

## Problems it solves

- publish an Elixir library with a Rust NIF without making users install Rust
- speed up installs of my Rustler-based Hex package
- distribute prebuilt native binaries safely with my Elixir package

## Features

- Downloads a precompiled NIF for the user's target instead of compiling Rust
- Checks each download against a SHA-256 checksum file shipped in the Hex package
- Builds artifacts in CI for each OS, architecture and NIF version
- Works with GitHub Actions releases and artifact attestations

## Trust

Overall: 0.39 out of 1.
Signals: maintenance 0.50, adoption 0.46, momentum 0.20, community 0.57, backing 0.30, extensibility 0.00.

- last commit 36 days ago
- 7 commits in the last 90 days
- latest release v0.10.1 36 days ago
- 204 GitHub stars
- 25 contributors
- backed by Philip Sampaio

## Related

- Works with [Rustler](https://talira.ai/catalog/rustler-w0cgm3kr.md)

## Alternatives

- [Rustler](https://talira.ai/catalog/rustler-w0cgm3kr.md): Write Erlang and Elixir NIFs in safe Rust
- [Unifex](https://talira.ai/catalog/unifex-n7fdj13n.md): Generates the interface between native C code and Elixir

## Sources

[^1]: https://github.com/philss/rustler_precompiled (checked 28 Nov 2026)
