sqlx vs union
sqlx and union share 7 technologies: sqlx, sqlx-postgres, Postgres, SQLite, Tokio, console, and tracing. Both are written in Rust.
What they share and what sets them apart
transact-rs
sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
Rust17.6kRead on November 6, 2026, at commit 7908fe7What is sqlx built with?Only in sqlx
In common
unionlabs
union
The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.
Rust73.7kRead on November 5, 2026, at commit 031785bWhat is union built with?Only in union
Side by side
sqlxunion
SizeLines written by people and agents, without generated ones; code files, without tests.
sqlx84,822 lines written369 code files
union468,416 lines written1,841 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
sqlx0% of its commits signed by AIWith Claude Code
union0% of its commits signed by AIWith CodeRabbit
ActivityFrom GitHub and its history, on the day SeeRepo read it.
sqlxLast push October 31, 20262,721 commits17,631 stars
unionLast push July 25, 202613,299 commits73,725 stars
TestsThe files that test the code, and the share of code files a test imports.
sqlx60 test files3% of its code files have a test that imports them
union120 test files10.4% of its code files have a test that imports them
Frequently asked questions
Which is bigger, sqlx or union?
union, with 468,416 lines written; sqlx has 84,822.
The proof: unionlabs/union's code at commit 031785b
Which has more GitHub stars, sqlx or union?
union, with 73,725 stars; sqlx has 17,631.
The proof: unionlabs/union on GitHub
Which has more tests, sqlx or union?
union, with 120 test files; sqlx has 60.
The proof: unionlabs/union's code at commit 031785b
Which was updated more recently, sqlx or union?
sqlx: its last push was on October 31, 2026, and union's on July 25, 2026.
The proof: transact-rs/sqlx's commits on GitHub
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.

