8 releases

Uses new Rust 2024

new 0.0.8 Jan 15, 2026
0.0.7 Oct 7, 2025
0.0.6 Jul 25, 2025
0.0.6-rc.1 Apr 26, 2025
0.0.5-rc.1 Feb 14, 2025

#1830 in Game dev


Used in 4 crates

MIT/Apache

1.5MB
37K SLoC

beet_router

Beet Router is an ergonomic router for web frameworks. Its a bit like an ECS alternative to tower, using bevy ecs and beet_flow for control flow.

The main purpose of a router is control flow, deciding what to run and when. The recommended pattern is a behavior tree GetOutcome / Outcome but the flexible nature of ECS allows users to define their own patterns, while still using common extractors, middleware etc.

Servers

beet_router can be used without a server which is useful for testing. For serving content the recommended approach is to use the beet_net server, a 100% bevy server built on hyper.

Goals

beet_router is designed to balance performance with flexibility and developer experience. It is not intended for extreme traffic scenarios like a proxy servers handling 10,000 requests/second, this is something axum is designed for (they go to great length to avoid a single boxing). An average lambda request takes 200ms and our baseline target for a basic useful router with middleare is 200us, 0.1% of that.

Dependencies

~39–62MB
~1M SLoC