rbatis/rbatis
Compile Time Async Dynamic SQL ORM observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 6.0
- age_days: 2735
- days_rel: 35
- days_push: 7
- n_releases_24m: 45
Adoption not part of the score
2486 stars · 172 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Rbatis is a high-performance async ORM framework for Rust that compiles dynamic SQL (py_sql/html_sql) to native Rust code at compile time. It supports many databases including MySQL, PostgreSQL, SQLite, MSSQL, and more, with built-in connection pooling on the Tokio async runtime.
Use cases
- use an async orm in rust
- write dynamic sql with mybatis-style xml tags in rust
- map rust structs to database tables
- avoid runtime sql parsing overhead
- connect to mysql or postgres from a rust web service
- port a mybatis-plus project to rust
When to choose
- you want mybatis-like dynamic sql in rust with compile-time performance
- you need async database access across many database engines
- you prefer sql templates over query builders
When to avoid
- you want a lightweight query builder like sqlx or sea-orm without template macros
- your project does not use tokio-based async rust
- you need an orm for a language other than rust
Facets
library · maturity active
orm database-driver database databases web-development backend developer-tools rust cross-platform async tokio mybatis dynamic-sql compile-time-codegen mysql postgres sqlite connection-pool
2 sources
- readme: https://github.com/rbatis/rbatis · fetched 2026-08-28 · 0483b037f26a
- homepage: https://rbatis.github.io/rbatis.io · fetched 2026-08-29 · 9d6409e819c0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rbatis/rbatis | main | 98 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem