rust-lang/rust

GitHub
https://github.com/rust-lang/rust

Empowering everyone to build reliable and efficient software.

Stars:
121k
Language:
Rust
Default branch:
main
Last scored:
Overall

At a glance

Rank
#189 of 401
Top 47% · #27 of 45 Rust repos
Checks passed
8 of 17
Full list below
Best set up for
Claude Code
Score 73.7
Needs most work for
OpenHands
Biggest fix: Reproducible dev env (+10.0 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    Reproducible dev env
    Add a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.
    +11.8 pts
  2. 2
    Pre-commit / git hooks
    Set up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.
    +5.3 pts
  3. 3
    Manageable size
    If possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.
    +5.3 pts

Score for each AI agent

Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →

Claude Code
#191 of 401
73.7
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✗Reproducible dev env
Pi
#151 of 401
73.3
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Linter / formatter config
Codex
#184 of 401
72.2
  • ✓AGENTS.md / CLAUDE.md
  • ✓README
  • ✓Test suite
Kimi Code CLI
#174 of 401
71.7
  • ✓AGENTS.md / CLAUDE.md
  • ✓Test suite
  • ✓Dependency manifest
Cursor
#156 of 401
67.6
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
Aider
#181 of 401
67.3
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ✓Test suite
Gemini CLI
#185 of 401
65.2
  • ✗GEMINI.md
  • ✓README
  • ✓Test suite
Devin
#255 of 401
64.5
  • ✗Reproducible dev env
  • ✓Dependency manifest
  • ✓Test suite
OpenHands
#266 of 401
60.4
  • ✓CI configuration
  • ✓Dependency manifest
  • ✗Reproducible dev env

Does rust-lang/rust have agent instructions?

An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.

AGENTS.md / CLAUDE.md
AGENTS.md (new tab) · 13,839 characters
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
24 of 45 Rust repos · 221 of 401 repos on the leaderboard · See examples →

All 17 checks · 8 passed

No .agents/skills/<name>/SKILL.md
Substantive (13,839 characters)
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
3 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
No Makefile / devcontainer / Docker / equivalent found
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 0% pass
No LICENSE/COPYING file
Config detected
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (3,303 characters)
Manageable size· 20% pass
10000+ files — very large
Test suite· 100% pass
Found /tests
Type configuration· 100% pass
Typed language (Rust)

How rust-lang/rust compares

vs leaderboard average
1.6 pts above
Average 66.8
vs Rust average
2.2 pts below
Average 70.6
Stars among Rust repos
#3 of 45

Missing here, and how many repos have it

  • License file · passed by 92% of leaderboard repos, 60% of Rust repos
  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 20% of Rust repos
  • Reproducible dev env · passed by 22% of leaderboard repos, 33% of Rust repos

One fix for the most agents: Reproducible dev env would raise the score for all 9 agents, by up to 11.9 points.

Similar repos

Same language and host as this repo, closest in overall score.

All Rust repos →

Same topics, any language

Repos tagged with the same GitHub topics, most shared first.

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/rust-lang/rust
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/rust-lang/rust.svg)](https://agentfriendlycode.com/repo/github/rust-lang/rust)

Check the score on every pull request

A GitHub Action posts one comment per pull request with how the score changed and why.