rust-lang/crates.io SLOC report
As of 2026-07-31 (commit 9e3391946ba0), rust-lang/crates.io contains 106,920 total lines: 87,068 code, 5,269 comments, 14,583 blank, across 1,670 files in 17 languages (top: Rust 47.1%). Counted with tokei via OctoCounts.
Repository size insights
This is a medium-sized codebase by counted code lines. Code represents 81.4% of all lines, comments represent 4.9%, and the repository averages 52 code lines per file. Rust accounts for 47.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Rust | 349 | 48994 | 40987 | 1269 | 6738 |
| TypeScript | 381 | 29530 | 23339 | 2311 | 3880 |
| YAML | 29 | 12296 | 10428 | 0 | 1868 |
| Svelte | 179 | 6749 | 5885 | 101 | 763 |
| SQL | 572 | 3224 | 2507 | 399 | 318 |
| TOML | 45 | 2300 | 1746 | 285 | 269 |
| JavaScript | 5 | 731 | 524 | 106 | 101 |
| Jinja2 | 47 | 600 | 473 | 0 | 127 |
| CSS | 7 | 737 | 463 | 144 | 130 |
| JSON | 10 | 301 | 301 | 0 | 0 |
| Python | 3 | 347 | 249 | 23 | 75 |
| Shell | 3 | 133 | 82 | 21 | 30 |
Top language (Rust 47.1%). Generated at 2026-07-31T09:06:08.268733353+00:00.
Report FAQ
How many lines of code does rust-lang/crates.io have?
rust-lang/crates.io has 106,920 total lines, including 87,068 code lines, 5,269 comment lines, and 14,583 blank lines.
How was the rust-lang/crates.io line count measured?
OctoCounts resolved the public GitHub repository to commit 9e3391946ba0, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for rust-lang/crates.io?
This OctoCounts report was generated from main at commit 9e3391946ba0 on 2026-07-31T09:06:08.268733353+00:00.