rust-lang/cargo

rust-lang/cargo has 108,613 source lines of code out of 128,193 total lines across 439 files, counted with tokei from the master ref at commit 930a674da900 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

rust-lang/cargo: 108,613 code lines at commit 930a674da900, counted with tokei-15.0.0 on 2026-11-21. Saved result 93655b0f44f186dee19977d4c7de9b578e8ca19dabd99cbc5fd4522d2868136c.

OctoCounts produced this report by resolving rust-lang/cargo to commit 930a674da900, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a large codebase by counted code lines. Code represents 84.7% of all lines, comments represent 6.1%, and the repository averages 247 code lines per file. Rust accounts for 94.3% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Rust357120625102444698111200
JSON73845384500
TOML3516161183209224
JavaScript17886506870
Shell64223384044
Python2117881316
Dockerfile2554429
XML1282170
Markdown276890478211
Plain Text18080

Top language: Rust 94.3%. Generated on .

Counting rules and retention

rust-lang/cargo: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does rust-lang/cargo have?

rust-lang/cargo has 108,613 lines of code, plus 7,806 comment lines and 11,774 blank lines, for 128,193 total lines at commit 930a674da900 on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the rust-lang/cargo line count measured?

OctoCounts resolved the public GitHub repository to commit 930a674da900, 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/cargo?

This OctoCounts report was generated from master at commit 930a674da900 on November 21, 2026.

Similar repository reports

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

Play the growth animation for rust-lang/cargo on this page — 108,613 code lines across 10 languages, counted by tokei.