rusterlium/rustler
Safe Rust bridge for creating Erlang NIF functions observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 99
- Release rhythm 73
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 73.0
- age_days: 4033
- days_rel: 100
- days_push: 7
- n_releases_24m: 11
Adoption not part of the score
4857 stars · 246 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Rustler is a Rust library for writing safe Erlang NIFs (Native Implemented Functions) that run inside the BEAM VM without risking crashes. It provides boilerplate generation, encoding/decoding of Erlang terms, panic catching, and resource objects for both Erlang and Elixir.
Use cases
- write erlang nifs in rust
- call rust code from elixir
- speed up elixir with native functions
- encode rust structs to erlang terms
- pass rust resources into erlang code safely
- avoid crashing the beam vm with native code
When to choose
- you need native performance in an Erlang or Elixir application
- you want memory-safe FFI into the BEAM without segfaults
- you want ergonomic Rust-to-Elixir bindings with derive macros
When to avoid
- you need a pure Rust or pure Elixir solution without FFI
- you target platforms or OTP versions outside the supported range
- you need long-running NIFs that block BEAM schedulers (consider dirty schedulers or ports)
Facets
library · maturity stable
serialization developer-tools developer-tools programming-languages backend rust windows cross-platform erlang elixir nif ffi beam interop linux macos
10 sources
- readme: https://github.com/rusterlium/rustler · fetched 2026-08-28 · 7e5f05f4b3c5
- homepage: https://docs.rs/crate/rustler · fetched 2026-08-29 · feaf4cefbf95
- site_page: https://docs.rs/ · fetched 2026-08-29 · f2f97f9f98fe
- site_page: https://docs.rs/crate/rustler/latest/features · fetched 2026-08-29 · 3d1f8f0bc008
- site_page: https://docs.rs/about · fetched 2026-08-29 · 29ab7986fbf5
- site_page: https://docs.rs/about/badges · fetched 2026-08-29 · 6588cac258af
- site_page: https://docs.rs/about/builds · fetched 2026-08-29 · 811231ca4680
- site_page: https://docs.rs/about/metadata · fetched 2026-08-29 · 0dcdccb2b2b2
- site_page: https://docs.rs/about/redirections · fetched 2026-08-29 · 1b1efd93105f
- site_page: https://docs.rs/about/download · fetched 2026-08-29 · 6793b0ab6541
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rusterlium/rustler | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="rusterlium/rustler")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem