🧩 Polylithic
Compose exactly the components you need. Use everything or just the HTTP core—your project, your rules.
Reinhardt™Polylithic Batteries-Included Web Framework for Rust
Build with all the power of Django’s batteries-included philosophy,
or compose only what you need—your choice, your way.
Compose exactly the components you need. Use everything or just the HTTP core—your project, your rules.
Compile-time validated queries via SeaQuery. No runtime surprises, no SQL injection by construction.
Auth, REST, Admin, GraphQL, WebSockets, i18n, Pagination—all available, none mandatory.
Built-in SSR + hydration via reinhardt-pages. Fine-grained reactivity, server functions, and component-based UI—no separate JS framework needed.
Write once, deploy everywhere. Web, desktop, and mobile from a single Rust codebase. (Planned)
Fine-grained control over your build. Include only the features you use—minimal binary size, maximum flexibility.
Scaffold projects and apps with reinhardt-admin. Run dev server, execute migrations, collect static files—a familiar workflow for Django developers.
Automatic dependency injection via #[inject] and Depends<T>. Type-safe extraction of path params, query strings, headers, cookies, JSON, and form data.
Extend your app with static compile-time plugins or dynamic WASM plugins loaded at runtime via wasmtime. Manage plugins from crates.io with built-in CLI.
Zero-config OpenAPI schema generation plus a DRF-inspired browsable API interface. Interactive API documentation out of the box.
Layered TOML settings per environment (base, local, staging, production) with REINHARDT_ENV profile switching. No external config crates needed.
PostgreSQL, MySQL, SQLite, and CockroachDB via feature flags. Switch databases at compile time without changing application code.
[dependencies]
reinhardt = { version = "0.1.0-rc.15", package = "reinhardt-web" }| Inspiration | What We Borrowed | What We Improved |
|---|---|---|
| 🐍 Django | Batteries-included, ORM design, admin panel | Feature flags for composable builds, Rust type safety |
| 🎯 Django REST | Serializers, ViewSets, permissions | Compile-time validation, zero-cost abstractions |
| ⚡ FastAPI | DI system, automatic OpenAPI | Native Rust performance, no runtime overhead |
| 🗄️ SQLAlchemy | QuerySet patterns, relationship handling | Type-safe query builder, compile-time validation |