embassy-rs/embassy has 459,920 source lines of code out of 564,346 total lines across 2,688 files, counted with tokei from the main ref at commit 1aabf61408d2 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-07 (commit 1aabf61408d2), embassy-rs/embassy contains 564,346 total lines: 459,920 code, 35,170 comments, 69,256 blank, across 2,688 files in 14 languages (top language: Rust 96.7%). 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 1aabf61408d2, 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.5% of all lines, comments represent 6.2%, and the repository averages 171 code lines per file. Rust accounts for 96.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 2258 | 537142 | 444906 | 27278 | 64958 |
| TOML | 161 | 11367 | 8933 | 1199 | 1235 |
| 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 | 16 | 308 | 190 | 60 | 58 |
| 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.7%. 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 459,920 lines of code, plus 35,170 comment lines and 69,256 blank lines, for 564,346 total lines at commit 1aabf61408d2 on November 7, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 1aabf61408d2, 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 1aabf61408d2 on November 7, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for embassy-rs/embassy on this page — 459,920 code lines across 14 languages, counted by tokei.