Automatically generates Rust FFI bindings to C (and some C++) libraries.
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/rust-lang/rust-bindgen?utm_source=readme_chart)
Compact Shields-style badges for your README header. Shows real-time stars and global ranking.
[](https://githubrepo.cloud/repo/rust-lang/rust-bindgen?utm_source=readme_badge) [](https://githubrepo.cloud/repo/rust-lang/rust-bindgen?utm_source=readme_badge) [](https://githubrepo.cloud/repo/rust-lang/rust-bindgen?utm_source=readme_badge)
Momentum
+133
STARS · LAST 30 DAYS
4
PER DAY
#175
MOST-STARRED Rust
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +28 | +133 | +360 |
| Per day | 4 | 4 | 4 |
| Forks gained | +4 | +17 | +42 |
rust-bindgen gained 133 stars in the last 30 days, about 4 a day, and now has 5.3K. It is about 10 years old and has averaged roughly 530 stars a year. It ranks #175 among Rust repositories and #1,759 across all languages on GitHubRepo.
Trending Record
2
DAYS ON TRENDING
#3533
BEST RANK
Oct 5, 2026
FIRST APPEARANCE
Active
STATUS TODAY
rust-bindgen has maintained a continuous presence across global trending indexes, peaking at #3533. Below is the 30-day activity profile:
💡 Overview
rust-bindgen is an open-source project written in Rust: Automatically generates Rust FFI bindings to C (and some C++) libraries.
Engineered for speed, consistency, and developer ease, it solves common hurdles in bindings, codegen, ffi. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in Rust for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ cargo install rust-bindgen
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Rust toolchain (rustc / cargo >= 1.70)
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
rust-bindgen coordinates its core functionality through a modular Rust pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Production System Integration
Embed rust-bindgen into Rust backend services to handle core application logic.
CI/CD Automated Pipelines
Run automated validation, builds, and integration suites during deployments.
Developer Tooling & Workflows
Accelerate developer onboarding with pre-configured project utilities.
Open Source Extension
Fork and customize internal modules under the repository's open BSD-3-Clause license.
🚀 Getting Started
Install rust-bindgen using your package manager: `cargo install rust-bindgen`
Initialize your project workspace or configuration file for rust-bindgen.
Import rust-bindgen into your codebase or invoke it directly from your terminal.
Execute your test suite or run `rust-bindgen --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with Rust, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
rust-lang/rust-bindgen is currently ranked #1,759 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #1,754 | lmstudio-ai/lms | TypeScript | ★ 5.3K | Compare ↗ |
| #1,755 | astropy/astropy | Python | ★ 5.3K | Compare ↗ |
| #1,756 | nikkinikki-org/OpenWrt-nikki | JavaScript | ★ 5.3K | Compare ↗ |
| #1,757 | zircote/swagger-php | PHP | ★ 5.3K | Compare ↗ |
| #1,758 | qtile/qtile | Python | ★ 5.3K | Compare ↗ |
| #1,759 | rust-lang/rust-bindgen This Project | Rust | ★ 5.3K | |
| #1,760 | NVIDIA/cuml | Python | ★ 5.3K | Compare ↗ |
| #1,761 | aipoch/open-science | TypeScript | ★ 5.3K | Compare ↗ |
| #1,762 | lukevella/rallly | TypeScript | ★ 5.3K | Compare ↗ |
| #1,763 | CanadaHonk/porffor | JavaScript | ★ 5.3K | Compare ↗ |
| #1,764 | cloudflare/cloudflare-docs | MDX | ★ 5.3K | Compare ↗ |
Frequently Asked Questions
What does rust-bindgen do? +
Automatically generates Rust FFI bindings to C (and some C++) libraries.
What language is rust-bindgen written in? +
The primary language is Rust. Topics include: bindings, codegen, ffi.
Is rust-bindgen actively maintained? +
Yes, the last recorded push was on Oct 5, 2026 with 607 open issues being tracked.
How many stars does rust-bindgen have? +
rust-bindgen has 5,302 stars and 832 forks on GitHub.
How does rust-bindgen rank among GitHub repositories? +
With 5,302 stars, rust-lang/rust-bindgen is ranked #1,759 globally across all repositories tracked on GitHubRepo and #175 among Rust projects.
What license is rust-bindgen distributed under? +
The repository reports a BSD-3-Clause license. Always verify the repository LICENSE file for legal terms.