77/ 100 · C
Good community traction and solid fundamentals. Nearly in the top tier.
A project for generating C bindings from Rust code
Rust2,894 starsMPL-2.0updated 6d ago
DocumentationREADME, setup, examples, license
EngineeringTests, CI, linting, lockfiles
Project healthDescription, activity, stars, deps
What to fix first
The highest-impact improvements for this repo.
- 1CI/CDEngineeringWarning
Add a step like `run: npm test`, `run: pytest`, or `run: tox` to your workflow file.
- 2CI/CDEngineeringInfo
Add a lint step (e.g. `npm run lint`, `ruff check .`, `cargo clippy`) to catch style issues automatically.
- 3CI/CDEngineeringInfo
Add `tsc --noEmit`, `mypy`, or `cargo check` to catch type errors before they merge.
Detailed breakdown
Documentation
88- README80
- README is present.
- README is well structured with multiple sections.
- No screenshots or images in the README (−20 pts).Add a GIF, screenshot, or logo image. It is the fastest way to show what your project does.
- README has code examples.
- README links to a live demo or deployed app.
- README includes status badges.
- Install and run instructions90
- README documents how to install the project.
- README documents how to run the project.
- If your project uses environment variables, add a .env.example listing them (+10 pts).Add a .env.example listing all required environment variables so contributors know what to set up.
- License100
- Licensed under MPL-2.0.
- Contributing guide87
- Contributing guide is present (+6 pts for length); 400+ words earns the full +12 pts.
- Contributing guide includes setup/install instructions.
- Contributing guide describes code style expectations.
- Contributing guide explains how to run tests.
- Contributing guide describes the PR/review workflow.
- Contributing guide has no code examples (−5 pts).Add code blocks showing example commands for setup, running tests, and submitting a PR.
- Optional: add a Code of Conduct (+5 pts).A CODE_OF_CONDUCT.md signals that your project is welcoming. GitHub has a template you can add in one click.
Engineering
63- Tests90
- Test files detected (tests).
- Cargo.toml has dev-dependencies and test files are present.
- CI/CD57
Not applicable?
- CI is configured (.github/workflows/cbindgen.yml).
- The CI workflow does not appear to run any tests (−28 pts).Add a step like `run: npm test`, `run: pytest`, or `run: tox` to your workflow file.
- CI runs on pull requests, not just on pushes to main.
- CI does not appear to run a linter (−15 pts).Add a lint step (e.g. `npm run lint`, `ruff check .`, `cargo clippy`) to catch style issues automatically.
- Optional: add type checking to CI.Add `tsc --noEmit`, `mypy`, or `cargo check` to catch type errors before they merge.
- Optional: report test coverage in CI.Upload coverage to Codecov, Coveralls, or report it with `--coverage` flags.
- CI tests across multiple environments or versions.
- Linting and formatting40
- Rust projects have clippy available. Run `cargo clippy` for linting.
- CI does not appear to run `cargo clippy` (−40 pts vs enforcing it in CI).Add `cargo clippy -- -D warnings` and `cargo fmt --check` as CI steps.
- No rustfmt.toml found.Add a rustfmt.toml to enforce a consistent code style across contributors.
- Reproducibility75
- Lockfile present (Cargo.lock). Installs are reproducible.
- No Dockerfile or runtime version pin found. Adding one earns +10 pts.Add a Dockerfile, .nvmrc, or .python-version to pin the runtime version and make the environment reproducible.
- No Dependabot config (adding it earns up to +20 pts).Add .github/dependabot.yml with at least one package-ecosystem entry so dependencies are updated automatically.
- Cargo.toml uses Rust edition 2021 (current best practice).
- Issue and PR templates0
- No issue or PR templates found (−90 pts).Add .github/ISSUE_TEMPLATE/ with bug_report.md and feature_request.md to guide contributors. It dramatically improves issue quality.
- Optional: add a SECURITY.md.A SECURITY.md explains how to responsibly disclose vulnerabilities. Worth adding once the project has real users.
Project health
98- Dependency manifest95
- Dependency manifest found (Cargo.toml).
- Cargo.toml includes a description for crates.io.
- Cargo.toml declares a license.
- Cargo.toml links to the source repository.
- Repository metadata100
- Repository has a description.
- Primary language detected: Rust.
- Cargo.toml [package] metadata is complete (description, authors, repository).
- Activity100
- Actively maintained (pushed within the last month).
- 2,894 stars.
- Housekeeping100
- .gitignore present.
Repository files16 root entries
- .githubGood: CI is configured (.github/workflows/cbindgen.yml).
- src
- testsGood: Test files detected (tests).
- .gitattributes
- .gitignoreGood: .gitignore present.
- build.rs
- Cargo.lockGood: Lockfile present (Cargo.lock). Installs are reproducible.
- Cargo.tomlGood: Dependency manifest found (Cargo.toml).
- CHANGES
- contributing.mdGood: Contributing guide is present (+6 pts for length); 400+ words earns the full +12 pts.Good: Contributing guide includes setup/install instructions.Good: Contributing guide describes code style expectations.Good: Contributing guide explains how to run tests.Good: Contributing guide describes the PR/review workflow.Info: Contributing guide has no code examples (−5 pts).Fix: Add code blocks showing example commands for setup, running tests, and submitting a PR.
- docs.md
- internals.md
- LICENSEGood: Licensed under MPL-2.0.
- README.mdGood: README is present.Good: README is well structured with multiple sections.Warning: No screenshots or images in the README (−20 pts).Fix: Add a GIF, screenshot, or logo image. It is the fastest way to show what your project does.Good: README has code examples.Good: README links to a live demo or deployed app.Good: README includes status badges.Good: README documents how to install the project.Good: README documents how to run the project.
- rust-toolchain.toml
- template.toml