#8282nd of 204 in Backends, databases and hosting

sea-orm

Rust ORM with entity relations, migrations and async or sync APIs

Stars
10k
License
Apache-2.0
Last commit
Nov 2026
Last release
Sep 2026
Language
Rust
Stars, last 29 weeks+500
25 Apr 2026: 9,476 stars2 May 2026: 9,493 stars9 May 2026: 9,511 stars16 May 2026: 9,538 stars23 May 2026: 9,559 stars30 May 2026: 9,578 stars6 Jun 2026: 9,605 stars13 Jun 2026: 9,627 stars20 Jun 2026: 9,645 stars27 Jun 2026: 9,668 stars4 Jul 2026: 9,694 stars11 Jul 2026: 9,717 stars18 Jul 2026: 9,741 stars25 Jul 2026: 9,759 stars1 Aug 2026: 9,780 stars8 Aug 2026: 9,799 stars15 Aug 2026: 9,812 stars22 Aug 2026: 9,825 stars29 Aug 2026: 9,838 stars5 Sept 2026: 9,846 stars12 Sept 2026: 9,857 stars19 Sept 2026: 9,872 stars26 Sept 2026: 9,879 stars3 Oct 2026: 9,890 stars10 Oct 2026: 9,901 stars17 Oct 2026: 9,915 stars24 Oct 2026: 9,925 stars31 Oct 2026: 9,945 stars7 Nov 2026: 9,958 stars14 Nov 2026: 9,976 stars

9,476 on 25 Apr 20269,976 on 14 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

SeaORM is a Rust ORM built on SQLx and SeaQuery. It maps tables to entities with 1-1, 1-N and M-N relations, loads nested relations without N+1 queries, and persists nested object graphs through ActiveModel. It also includes migrations, an entity-first schema sync mode, a raw SQL macro, and a separate sync crate.

Who it is for: Rust developers building web services on SQL databases

Strengths

  • Entity Loader uses joins for 1-1 and batched loading for 1-N, avoiding N+1
  • sea-orm-cli generates entity files from an existing database
  • Raw SQL macro supports parameter interpolation without string formatting of SQL
  • sea-orm-sync crate offers the same API without an async runtime

Weaknesses

  • Default features enable no TLS; you must add an SQLx TLS feature yourself
  • README describes 2.0 as a release candidate with breaking changes
  • SQL Server support is a separate product with commercial access
  • Nested ActiveModel requires the 2.0 dense entity format

What it needs

  • no GPU
  • Needs SQLx, SeaQuery, Tokio (runtime feature), Postgres, MySQL or SQLite

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in Backends, databases and hosting

See all 204
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k starscustom license94 out of 100
2coolifySelf-hosted Heroku and Vercel alternative that deploys apps and databases over SSH66.2k starsApache-2.093 out of 100
3strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k starscustom license92 out of 100
#4traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.6k starsMIT92 out of 100
#5appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58.2k stars+653 (+1.1%) in 30 daysBSD-3-Clause92 out of 100