The largest Rust repositories by lines of code
OctoCounts has measured 962 public GitHub repositories whose primary programming language is Rust. awslabs/aws-sdk-rust is the largest, with 33,049,186 code lines across 235,142 files, counted with tokei on November 9, 2026. The table ranks the 50 largest by code lines; each row links to a report pinned to the commit it counted.
| Rank | Repository | Code lines | Total lines | Files | Rust share |
|---|---|---|---|---|---|
| 1 | awslabs/aws-sdk-rust | 33,049,186 | 35,204,155 | 235,142 | 87.2% |
| 2 | avifenesh/memra | 14,758,115 | 15,868,111 | 36,845 | 3.2% |
| 3 | thunderbird/thunderbird-desktop | 6,559,441 | 8,127,220 | 21,974 | 57.7% |
| 4 | macro-inc/macro | 4,707,788 | 5,284,054 | 28,872 | 44.6% |
| 5 | aws/aws-emulator | 4,628,884 | 7,658,343 | 73,271 | 99.6% |
| 6 | PerryTS/perry | 3,988,732 | 4,641,335 | 19,554 | 50.4% |
| 7 | makepad/makepad | 3,701,160 | 4,189,601 | 8,951 | 94.6% |
| 8 | tangency-labs/solidcraft | 3,240,882 | 3,644,406 | 7,837 | 81.6% |
| 9 | indexable-inc/blaze | 3,225,048 | 3,601,696 | 10,274 | 77.4% |
| 10 | steelbrain/metal2vulkan | 3,054,552 | 3,205,345 | 3,804 | 44.5% |
| 11 | horizon-rust/horizon | 2,912,541 | 3,131,625 | 9,627 | 84.2% |
| 12 | rust-lang/rust | 2,782,025 | 3,259,725 | 8,583 | 76.7% |
| 13 | oven-sh/bun | 2,720,708 | 3,302,761 | 7,712 | 71.5% |
| 14 | wecode-ai/Wegent | 2,709,230 | 2,993,540 | 12,265 | 28.7% |
| 15 | LadybirdBrowser/ladybird | 2,429,668 | 3,541,360 | 49,010 | 37.0% |
| 16 | trflynn89/ladybird | 2,428,622 | 3,540,053 | 48,976 | 37.0% |
| 17 | expo/exact | 2,346,932 | 2,734,011 | 12,779 | 46.9% |
| 18 | huanglizhuo/exact | 2,245,449 | 2,618,043 | 12,478 | 46.1% |
| 19 | trycua/cua | 2,243,833 | 2,680,556 | 7,544 | 52.1% |
| 20 | emmertex/chromaforge | 2,078,933 | 2,157,019 | 2,425 | 31.9% |
| 21 | aptos-labs/aptos-core | 2,072,385 | 2,389,961 | 7,727 | 47.7% |
| 22 | microsoft/windows-rs | 2,012,877 | 2,035,670 | 2,500 | 99.6% |
| 23 | openai/codex | 1,907,793 | 2,073,254 | 7,235 | 87.2% |
| 24 | rustfs/rustfs | 1,801,584 | 2,046,316 | 2,868 | 93.2% |
| 25 | codewhale-hq/Codewhale | 1,792,832 | 2,056,954 | 3,170 | 84.4% |
| 26 | apache/maka | 1,770,285 | 2,067,651 | 4,748 | 76.8% |
| 27 | nautechsystems/nautilus_trader | 1,717,899 | 2,011,146 | 4,433 | 89.1% |
| 28 | openinterpreter/openinterpreter | 1,669,059 | 1,816,156 | 6,053 | 80.0% |
| 29 | lexmount/moli | 1,665,141 | 1,824,789 | 4,581 | 86.8% |
| 30 | tylertms/Stela | 1,636,806 | 1,823,270 | 4,321 | 87.8% |
| 31 | Haleclipse/codex | 1,627,008 | 1,775,261 | 6,344 | 86.5% |
| 32 | warpdotdev/warp | 1,611,026 | 1,957,954 | 6,108 | 95.7% |
| 33 | maddada/Ghostex | 1,597,571 | 1,789,021 | 6,262 | 93.3% |
| 34 | zed-industries/zed | 1,595,146 | 1,891,488 | 3,527 | 94.7% |
| 35 | xai-org/grok-build | 1,584,555 | 1,759,921 | 3,746 | 99.0% |
| 36 | t8y2/dbx | 1,571,312 | 1,765,427 | 4,610 | 42.2% |
| 37 | nicodunks/mog | 1,568,608 | 2,020,367 | 7,833 | 37.4% |
| 38 | AerisTerminal/zed | 1,543,892 | 1,835,358 | 3,502 | 94.6% |
| 39 | CapSoftware/Cap | 1,491,222 | 1,621,554 | 4,334 | 48.9% |
| 40 | tangency-labs/solidcore | 1,482,622 | 1,727,263 | 4,311 | 90.4% |
| 41 | Aurora-Viewer/Aurora-Viewer | 1,454,308 | 1,593,853 | 9,213 | 70.7% |
| 42 | metasequoiaime/msime | 1,387,830 | 1,844,768 | 6,494 | 40.6% |
| 43 | block/buzz | 1,381,675 | 1,625,595 | 5,625 | 47.6% |
| 44 | Hmbown/Codewhale | 1,349,339 | 1,531,077 | 2,128 | 86.2% |
| 45 | HakanSeven12/OpenCADStudio | 1,339,232 | 1,441,310 | 2,789 | 79.5% |
| 46 | zeroclaw-labs/zeroclaw | 1,324,885 | 1,505,420 | 1,616 | 91.8% |
| 47 | perplexityai/SPACE | 1,260,444 | 1,443,700 | 4,437 | 83.1% |
| 48 | Axolotl-Launcher/Axolotl | 1,249,100 | 1,340,788 | 3,892 | 34.6% |
| 49 | spacering-net/codeg | 1,244,082 | 1,518,663 | 3,124 | 43.8% |
| 50 | flash-tex/flashtex | 1,239,613 | 1,548,472 | 5,419 | 15.3% |
Ranking rule: a repository belongs to Rust when Rust is its largest programming language by code lines; data and prose formats such as JSON, YAML, TOML and Markdown do not count as a language for this rule. "Rust share" is the share of the repository's code lines written in Rust. Code lines exclude comments and blank lines. Every report uses OctoCounts' canonical public options, with tests, docs and generated directories excluded, and reports were generated on different dates.
Rust leaderboard FAQ
Which Rust repository has the most lines of code?
awslabs/aws-sdk-rust is the largest Rust repository in OctoCounts' index, with 33,049,186 code lines out of 35,204,155 total lines across 235,142 files, counted on November 9, 2026. avifenesh/memra follows with 14,758,115 code lines. Code size is not code quality: a larger count only means more source material.
How does a repository join the Rust leaderboard?
Rust must be its primary programming language: the language with the most code lines in the repository's OctoCounts report, ignoring data and prose formats such as JSON, YAML, TOML and Markdown. The repository then needs a public report with at least 5 files, and it is listed when it is among the 50 largest by code lines.
How many Rust repositories has OctoCounts measured?
962 public GitHub repositories have Rust as their primary programming language in OctoCounts' index. This page lists the 50 largest by code lines; a repository analyzed with custom counting options keeps those counts as a separate saved result.
Does more source lines of code mean more complexity?
Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use line counts to gauge the scale of what you would be reading or maintaining, not as a quality signal.