# tokio-rs/axum SLOC report

> As of 2026-11-21 (commit bfa66864176f), tokio-rs/axum contains 39,812 total lines: 29,993 code, 3,840 comments, 5,979 blank, across 276 files in 8 languages (top language: Rust 95.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

Source: [tokio-rs/axum on GitHub](https://github.com/tokio-rs/axum) · counted commit [bfa66864176f](https://github.com/tokio-rs/axum/tree/bfa66864176ffc03e508d8a8afd33c2e626ac38d)

tokio-rs/axum has 29,993 source lines of code out of 39,812 total lines across 276 files, counted with tokei from the main ref at commit bfa66864176f on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving tokio-rs/axum to commit bfa66864176f, 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

tokio-rs/axum: 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 medium-sized codebase by counted code lines. Code represents 75.3% of all lines, comments represent 9.6%, and the repository averages 109 code lines per file. Rust accounts for 95.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 175 | 34,529 | 28,586 | 1,059 | 4,884 |
| TOML | 63 | 1,449 | 1,273 | 48 | 128 |
| Jinja2 | 4 | 36 | 36 | 0 | 0 |
| JavaScript | 5 | 43 | 35 | 0 | 8 |
| HTML | 8 | 32 | 30 | 0 | 2 |
| JSON | 2 | 21 | 21 | 0 | 0 |
| SQL | 4 | 16 | 12 | 4 | 0 |
| Markdown | 15 | 3,686 | 0 | 2,729 | 957 |

Top language: Rust 95.3%. Generated on November 21, 2026. Canonical report: https://octocounts.com/github/tokio-rs/axum

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/tokio-rs/axum/commit/bfa66864176ffc03e508d8a8afd33c2e626ac38d?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=9ae888c6f79ee5dc14e8183dd6344a7b59c9821a2f0fe8cc715047946a8d3a8c).

## Report FAQ

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

tokio-rs/axum has 29,993 lines of code, plus 3,840 comment lines and 5,979 blank lines, for 39,812 total lines at commit bfa66864176f on November 21, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the tokio-rs/axum line count measured?

OctoCounts resolved the public GitHub repository to commit bfa66864176f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for tokio-rs/axum?

This OctoCounts report was generated from main at commit bfa66864176f on November 21, 2026.

## Similar repository reports

- [qdrant/rust-client](https://octocounts.com/github/qdrant/rust-client) — Rust, 30,005 code lines
- [kostyk348/rlisp-engine](https://octocounts.com/github/kostyk348/rlisp-engine) — Rust, 30,358 code lines
- [DioxusLabs/accessibility-cli](https://octocounts.com/github/DioxusLabs/accessibility-cli) — Rust, 30,382 code lines
- [AstrBotDevs/AstrBot-desktop](https://octocounts.com/github/AstrBotDevs/AstrBot-desktop) — Rust, 30,532 code lines
- [erikjuhani/basalt](https://octocounts.com/github/erikjuhani/basalt) — Rust, 29,441 code lines
- [pbeets/rithmic-rs](https://octocounts.com/github/pbeets/rithmic-rs) — Rust, 29,190 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)
- [Axum vs Actix Web](https://octocounts.com/compare/axum-vs-actix-web)
- [Rocket vs Axum](https://octocounts.com/compare/rocket-vs-axum)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [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)
