embassy-rs/embassy has 476,722 source lines of code out of 584,454 total lines across 2,747 files, counted with tokei from the main ref at commit a7c14f98172d on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit a7c14f98172d), embassy-rs/embassy contains 584,454 total lines: 476,722 code, 36,040 comments, 71,692 blank, across 2,747 files in 14 languages (top language: Rust 96.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving embassy-rs/embassy to commit a7c14f98172d, 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.
This is a large codebase by counted code lines. Code represents 81.6% of all lines, comments represent 6.2%, and the repository averages 174 code lines per file. Rust accounts for 96.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 2312 | 556779 | 461564 | 27892 | 67323 |
| TOML | 163 | 11499 | 9035 | 1209 | 1255 |
| Protocol Buffers | 2 | 3130 | 1916 | 648 | 566 |
| Alex | 86 | 1783 | 1569 | 0 | 214 |
| HEX | 1 | 1543 | 1543 | 0 | 0 |
| Python | 6 | 887 | 606 | 110 | 171 |
| Shell | 18 | 386 | 232 | 79 | 75 |
| Just | 1 | 259 | 151 | 64 | 44 |
| Autoconf | 4 | 55 | 48 | 0 | 7 |
| PowerShell | 3 | 60 | 37 | 15 | 8 |
| HTML | 1 | 16 | 15 | 1 | 0 |
| LD Script | 1 | 8 | 6 | 0 | 2 |
Top language: Rust 96.8%. Generated on .
embassy-rs/embassy: 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.
embassy-rs/embassy has 476,722 lines of code, plus 36,040 comment lines and 71,692 blank lines, for 584,454 total lines at commit a7c14f98172d on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit a7c14f98172d, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit a7c14f98172d on November 16, 2026.
Play the growth animation for embassy-rs/embassy on this page — 476,722 code lines across 14 languages, counted by tokei.