# embassy-rs/embassy SLOC report

> embassy-rs/embassy: 459,920 code lines at commit 1aabf61408d2, counted with tokei-15.0.0 on 2026-11-07. Saved result 100f524bbe4b70cc0971f5785212694f122e48f7b076024ce48671f3524973fb.

Source: [embassy-rs/embassy on GitHub](https://github.com/embassy-rs/embassy) · counted commit [1aabf61408d2](https://github.com/embassy-rs/embassy/tree/1aabf61408d2ccbff7a9b5958d8d109302611602)

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 2,258 | 537,142 | 444,906 | 27,278 | 64,958 |
| TOML | 161 | 11,367 | 8,933 | 1,199 | 1,235 |
| Protocol Buffers | 2 | 3,130 | 1,916 | 648 | 566 |
| Alex | 86 | 1,783 | 1,569 | 0 | 214 |
| HEX | 1 | 1,543 | 1,543 | 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 |
| Markdown | 142 | 7,372 | 0 | 5,421 | 1,951 |
| Plain Text | 6 | 416 | 0 | 374 | 42 |

Top language: Rust 96.7%. Generated on November 7, 2026. Canonical report: https://octocounts.com/github/embassy-rs/embassy/commit/1aabf61408d2ccbff7a9b5958d8d109302611602?reportId=100f524bbe4b70cc0971f5785212694f122e48f7b076024ce48671f3524973fb&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/embassy-rs/embassy/commit/1aabf61408d2ccbff7a9b5958d8d109302611602?reportId=100f524bbe4b70cc0971f5785212694f122e48f7b076024ce48671f3524973fb&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does embassy-rs/embassy have?

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.

### How was the embassy-rs/embassy line count measured?

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.

### What commit was counted for embassy-rs/embassy?

This OctoCounts report was generated from main at commit 1aabf61408d2 on November 7, 2026.

## Similar repository reports

- [xai-org/x-algorithm](https://octocounts.com/github/xai-org/x-algorithm) — Rust, 490,362 code lines
- [verus-lang/verus](https://octocounts.com/github/verus-lang/verus) — Rust, 484,058 code lines
- [akitaonrails/ai-memory](https://octocounts.com/github/akitaonrails/ai-memory) — Rust, 493,313 code lines
- [servo/servo](https://octocounts.com/github/servo/servo) — Rust, 493,563 code lines
- [Kuddev/pebrel](https://octocounts.com/github/Kuddev/pebrel) — Rust, 481,081 code lines
- [slint-ui/slint](https://octocounts.com/github/slint-ui/slint) — Rust, 479,014 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
