# embassy-rs/embassy SLOC report

> embassy-rs/embassy: 476,722 code lines at commit a7c14f98172d, counted with tokei-15.0.0 on 2026-11-16. Saved result 2eefd6f0c86a8a77ff1695b25fdbca9937e8dacaa3846b1f964df7ff6ee4495e.

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.

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.

## 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.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 | 2,312 | 556,779 | 461,564 | 27,892 | 67,323 |
| TOML | 163 | 11,499 | 9,035 | 1,209 | 1,255 |
| 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 | 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 |
| Markdown | 143 | 7,633 | 0 | 5,648 | 1,985 |
| Plain Text | 6 | 416 | 0 | 374 | 42 |

Top language: Rust 96.8%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/embassy-rs/embassy/commit/a7c14f98172d5f0767392de54d3d96cf7f409b73?reportId=2eefd6f0c86a8a77ff1695b25fdbca9937e8dacaa3846b1f964df7ff6ee4495e&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/a7c14f98172d5f0767392de54d3d96cf7f409b73?reportId=2eefd6f0c86a8a77ff1695b25fdbca9937e8dacaa3846b1f964df7ff6ee4495e&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 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.

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

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.

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

This OctoCounts report was generated from main at commit a7c14f98172d on November 16, 2026.

## Similar repository reports

- [slint-ui/slint](https://octocounts.com/github/slint-ui/slint) — Rust, 475,902 code lines
- [superradcompany/microsandbox](https://octocounts.com/github/superradcompany/microsandbox) — Rust, 468,031 code lines
- [Kuddev/pebrel](https://octocounts.com/github/Kuddev/pebrel) — Rust, 465,910 code lines
- [akitaonrails/ai-memory](https://octocounts.com/github/akitaonrails/ai-memory) — Rust, 464,931 code lines
- [servo/servo](https://octocounts.com/github/servo/servo) — Rust, 490,647 code lines
- [vercel/turborepo](https://octocounts.com/github/vercel/turborepo) — Rust, 494,433 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)
- [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)
