# embassy-rs/embassy SLOC report

> As of 2026-10-21 (commit 7915b85a4c03), embassy-rs/embassy contains 554,459 total lines: 451,449 code, 34,610 comments, 68,400 blank, across 2,630 files in 13 languages (top: Rust 96.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

embassy-rs/embassy has 451,449 source lines of code out of 554,459 total lines across 2,630 files, counted from the main ref at commit 7915b85a4c03 by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving embassy-rs/embassy to commit 7915b85a4c03, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 81.4% of all lines, comments represent 6.2%, and the repository averages 172 code lines per file. Rust accounts for 96.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 2,214 | 527,515 | 436,597 | 26,791 | 64,127 |
| TOML | 159 | 11,297 | 8,882 | 1,190 | 1,225 |
| Protocol Buffers | 2 | 3,130 | 1,916 | 648 | 566 |
| HEX | 1 | 1,543 | 1,543 | 0 | 0 |
| Alex | 75 | 1,673 | 1,462 | 0 | 211 |
| Python | 6 | 887 | 606 | 110 | 171 |
| Shell | 16 | 312 | 192 | 63 | 57 |
| Just | 1 | 259 | 151 | 64 | 44 |
| Autoconf | 4 | 55 | 48 | 0 | 7 |
| PowerShell | 3 | 60 | 37 | 15 | 8 |
| HTML | 1 | 16 | 15 | 1 | 0 |
| Markdown | 142 | 7,296 | 0 | 5,354 | 1,942 |

Top language (Rust 96.7%). Generated at 2026-10-21T04:29:55.525943704+00:00. Canonical report: https://octocounts.com/github/embassy-rs/embassy

## Reproduce this report

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

## Report FAQ

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

embassy-rs/embassy has 554,459 total lines, including 451,449 code lines, 34,610 comment lines, and 68,400 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 7915b85a4c03, 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 7915b85a4c03 on 2026-10-21T04:29:55.525943704+00:00.

## Similar repository reports

- [edezhic/mahbot](https://octocounts.com/github/edezhic/mahbot) — Rust, 446,115 code lines
- [milos-agathon/forge3d](https://octocounts.com/github/milos-agathon/forge3d) — Rust, 457,410 code lines
- [zeronsh/zeron](https://octocounts.com/github/zeronsh/zeron) — Rust, 442,730 code lines
- [Gerafftes/Observatory](https://octocounts.com/github/Gerafftes/Observatory) — Rust, 436,756 code lines
- [storytold/photocraft](https://octocounts.com/github/storytold/photocraft) — Rust, 468,987 code lines
- [storytold/artcraft](https://octocounts.com/github/storytold/artcraft) — Rust, 432,550 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)
- [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)
