google/crubit
A bidirectional bindings generator for C++ and Rust. observed · 2026-09-03
Health v2 · maintenance only
77/100
- Activity 100
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
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: n/a
- age_days: 1645
- days_rel: n/a
- days_push: 0
- n_releases_24m: 0
Adoption not part of the score
1094 stars · 79 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Crubit is a bidirectional bindings generator that automatically creates FFI bindings between C++ and Rust, enabling code in either language to call the other. It maps Rust structs, functions, and traits (like Display) to C++ equivalents and vice versa, aiming to integrate the two ecosystems.
Use cases
- call Rust functions from C++ code
- call C++ APIs from Rust
- generate FFI bindings between C++ and Rust automatically
- migrate a C++ codebase incrementally to Rust
- use Rust libraries in an existing C++ project
- expose C++ structs and functions to Rust with idiomatic types
When to choose
- you need automated, type-safe interop between C++ and Rust rather than hand-written bindings
- you are incrementally introducing Rust into a large C++ codebase (or vice versa)
- you want bindings that map references, optionals, smart pointers, and string types idiomatically
When to avoid
- you only need simple C ABI bindings that cbindgen or bindgen already handle
- your project requires only stable, long-term-supported tooling - Crubit's supported feature set is still evolving
- you work in a pure Rust or pure C++ codebase with no cross-language needs
Facets
cli-tool · maturity active
developer-tools compiler code-review developer-tools programming-languages cross-platform cpp rust windows ffi bindings-generator interop cxx rust-bindings language-interop linux macos
2 sources
- readme: https://github.com/google/crubit · fetched 2026-09-03 · 3dd38c37ceec
- homepage: https://crubit.rs/ · fetched 2026-08-29 · fb712a775bd2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/crubit | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem