Source: https://seerepo.com/compare/leptos-rs/leptos/vs/tokio-rs/axum
Markdown source: https://seerepo.com/compare/leptos-rs/leptos/vs/tokio-rs/axum.md
Description: leptos and axum share 4 technologies: Tokio, tower, tower-layer, and tracing. Both are written in Rust.

# leptos vs axum

leptos and axum share 4 technologies: Tokio, tower, tower-layer, and tracing. Both are written in Rust.

- [leptos-rs/leptos](https://seerepo.com/r/leptos-rs/leptos): Build fast web applications with Rust.
- [tokio-rs/axum](https://seerepo.com/r/tokio-rs/axum): HTTP routing and request-handling library for Rust that focuses on ergonomics and modularity

## What they share and what sets them apart

- In common: Tokio, tower, tower-layer, tracing
- Only in leptos: Leptos, axum-extra, Tauri, axum, Actix Web, axum-macros, sqlx-sqlite, sqlx, axum_session_sqlx, gloo-storage, lru, SQLite, Ory, Meilisearch, Bevy, gloo, leptos_axum, leptos_dom, leptos_router, leptos_server, leptos-spin-macro, leptos-use, server_fn_macro_default, sycamore, tachydom, tachys, Yew, actix-files, actix-http, axum-server, glib, Tailwind CSS, reactive_graph, utoipa-swagger-ui, axum_session_auth, oauth2, axum_session, bcrypt, pwhash, openai_dive, tera, html-escape, csv, mailparse, xml, log, console_log, simple_logger, tracing-subscriber, env_logger
- Only in axum: None

## Side by side

| | leptos | axum |
|---|---|---|
| Size | 149,710 lines written, 393 code files | 48,663 lines written, 112 code files |
| Who writes it | 0% of its commits signed by AI. With Claude Code | 0.3% of its commits signed by AI. With Claude Code and Cursor |
| Activity | Last push November 21, 2026, 5,274 commits, 21,565 stars | Last push November 19, 2026, 2,029 commits, 27,886 stars |
| Tests | 203 test files. 10.7% of its code files have a test that imports them | 134 test files. 28.6% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, leptos or axum?

leptos, with 149,710 lines written; axum has 48,663.

The proof: [leptos-rs/leptos's code at commit fb3d0db](https://github.com/leptos-rs/leptos/tree/fb3d0dbedc48d353d5ce2f86976581952b68387b)

### Which has more GitHub stars, leptos or axum?

axum, with 27,886 stars; leptos has 21,565.

The proof: [tokio-rs/axum on GitHub](https://github.com/tokio-rs/axum)

### Which has more tests, leptos or axum?

leptos, with 203 test files; axum has 134.

The proof: [leptos-rs/leptos's code at commit fb3d0db](https://github.com/leptos-rs/leptos/tree/fb3d0dbedc48d353d5ce2f86976581952b68387b)

### Which was updated more recently, leptos or axum?

leptos: its last push was on November 21, 2026, and axum's on November 19, 2026.

The proof: [leptos-rs/leptos's commits on GitHub](https://github.com/leptos-rs/leptos/commits)

### Which has more commits signed by AI, leptos or axum?

axum: an AI signed 0.3% of its commits, with Claude Code and Cursor.

## Sources

- leptos-rs/leptos: Read on November 22, 2026, at commit fb3d0db (https://github.com/leptos-rs/leptos/tree/fb3d0dbedc48d353d5ce2f86976581952b68387b)
- tokio-rs/axum: Read on November 20, 2026, at commit 8d60d69 (https://github.com/tokio-rs/axum/tree/8d60d69eb195dad2f983926ab11fc91a79b98e06)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
