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.

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.

OctoCounts produced this report by resolving rust-lang/crates.io to commit 9e3391946ba0, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

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.

LanguageFilesLinesCodeCommentsBlanks
Rust349489944098712696738
TypeScript381295302333923113880
YAML29122961042801868
Svelte17967495885101763
SQL57232242507399318
TOML4523001746285269
JavaScript5731524106101
Jinja2476004730127
CSS7737463144130
JSON1030130100
Python33472492375
Shell3133822130

Top language (Rust 47.1%). Generated at .

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.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: