Rust Sqlite

Open-source Rust projects categorized as Sqlite

Top 23 Rust Sqlite Projects

  1. sqlx

    🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. (by launchbadge)

    Project mention: You Probably Don't Need Query Builders | news.ycombinator.com | 2025-01-25

    Because type correctness does not imply branch correctness. SQL has side effects of interpretation, and any string/query builder that is not aware of grammatical implications should be avoided in my opinion.

    Check the query builder of sqlx [1]

    [1] https://github.com/launchbadge/sqlx/blob/main/sqlx-core/src/...

  2. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  3. diesel

    A safe, extensible ORM and Query Builder for Rust

    Project mention: Toasty, an Async ORM for Rust | news.ycombinator.com | 2024-10-23

    I think you are talking past each others. Preventing N+1 by doing lazy fetching and having synchronous / asynchronous API are orthogonal issues. Async API must not block the thread/event loop when the data loading is being done.

    Diesel hasn't been providing an async API for reason told in this thread: https://github.com/diesel-rs/diesel/issues/399

    The situation might change some day though, once async support in the core language and surrounding ecosystem gets stronger.

  4. sea-orm

    🐚 An async & dynamic ORM for Rust

    Project mention: Toasty, an Async ORM for Rust | news.ycombinator.com | 2024-10-23
  5. rusqlite

    Ergonomic bindings to SQLite for Rust

    Project mention: Show HN: SQLite Transaction Benchmarking Tool | news.ycombinator.com | 2024-07-17
  6. cr-sqlite

    Convergent, Replicated SQLite. Multi-writer and CRDT support for SQLite

    Project mention: Cr-SQLite – Multi-writer and CRDT support for SQLite | news.ycombinator.com | 2024-12-16
  7. qsv

    Blazing-fast Data-Wrangling toolkit

    Project mention: ASCII Delimited Text – Not CSV or Tab Delimited Text | news.ycombinator.com | 2024-11-11
  8. sql-studio

    SQL Database Explorer [SQLite, libSQL, PostgreSQL, MySQL/MariaDB, ClickHouse, Microsoft SQL Server]

    Project mention: SQL-Studio: SQL Database Explorer [SQLite, LibSQL, PostgreSQL, MySQL/MariaDB, D | news.ycombinator.com | 2024-06-22
  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. sqlsync

    SQLSync is a collaborative offline-first wrapper around SQLite. It is designed to synchronize web application state between users, devices, and the edge.

    Project mention: Sensible SQLite Defaults | news.ycombinator.com | 2024-12-06

    Have you taken a peek at sqlsync? It's a cool take where you write your entire application logic to operate as transactions and queries over a sqlite database but you do it in wasm so that the same transaction logic can run everywhere. The end result is nifty. That's at least my recollection of the thing.

    https://sqlsync.dev/

  11. rbatis

    Rust Compile Time ORM with Async Dynamic SQL

  12. SQLPage

    Fast SQL-only data application builder. Automatically build a UI on top of SQL queries.

    Project mention: SQLPage: Automatically build a UI on top of SQL queries | news.ycombinator.com | 2024-10-22
  13. sea-query

    🔱 A dynamic SQL query builder for MySQL, Postgres and SQLite

    Project mention: Rust-Query | news.ycombinator.com | 2024-11-30

    That's my go-to! Maybe it was not super clear from my comment but I'm not using sea-query-orm but just the query builder, once the query is build you still have to feed it to sqlx (e.g [0]) :)

    [0]: https://github.com/SeaQL/sea-query/blob/master/examples/sqlx...

  14. xlite

    Query Excel spredsheets (.xlsx, .xls, .ods) using SQLite

    Project mention: I keep turning my Google Sheets into phone-friendly webapps, and I can't stop | news.ycombinator.com | 2024-12-30

    The one I use is xlite

    https://github.com/x2bool/xlite

    It's read-only and mounts spreadsheets as virtual tables. Very fast.

    Perhaps more relevant to this thread, libgsqlite loads Google Sheets as virtual tables:

    https://github.com/0x6b/libgsqlite

    (I haven't tested it though.)

  15. corrosion

    Gossip-based service discovery (and more) for large distributed systems. (by superfly)

    Project mention: Fly.io is having a complete outage | news.ycombinator.com | 2024-11-25

    https://community.fly.io/t/reliability-its-not-great/11253

    https://github.com/superfly/corrosion

  16. apalis

    Simple, extensible multithreaded background job and message processing library for Rust

  17. prsqlite

    Pure Rust implementation of SQLite

  18. KiteSQL

    SQL as a Function for Rust

  19. chiselstore

    SQLite + Little Raft = 🚀

  20. seaography

    🧭 GraphQL framework for SeaORM

  21. wastebin

    wastebin is a pastebin 📝

  22. njord

    A versatile, feature-rich Rust ORM ⛵

    Project mention: A lightweight ORM library for Rust | news.ycombinator.com | 2024-04-16
  23. sqlite-loadable-rs

    A framework for writing fast and performant SQLite extensions in Rust

    Project mention: SQLite-jiff: SQLite extension for timezones and complex durations | news.ycombinator.com | 2024-07-22

    I think so - I wrote my own Rust FFI bindings for SQLite extensions, and I tried to make it as fast as possible, but a "hello world" extension was still 10-15% slower in Rust than C[0].

    That being said, it depends what the extension does - a "hello world" extension mainly just calls the same SQLite C APIs over and over again, so the small Rust layer makes it a bit slower. However, my Rust extensions for regex[1] and CSV parsing[2] are usually faster than the C counterparts, mostly due to less memory allocations and batching. It's not a 1:1 comparison (both extensions have slightly different APIs and features), but I'd say a lot of "real world" features available in Rust can be faster than what's available in C.

    That being said, I'm sure someone could write their own faster CSV or regex extension in C that is faster than the Rust ones. But it's a ton of work to do that from scratch, and I find wrapping a pre-existing Rust implementation to be much easier

    [0] https://github.com/asg017/sqlite-loadable-rs?tab=readme-ov-f...

  24. oasysdb

    In-memory vector store with efficient read and write performance for semantic caching and retrieval system. Redis for Semantic Caching.

    Project mention: What should I do when someone blatantly copy my open-source project on GitHub? | news.ycombinator.com | 2024-08-25

    This is OasysDB v0.4: https://github.com/oasysai/oasysdb/tree/v0.4.0

    I honestly don't know what to do. I know that OasysDB is open-source and thus, free to modify and redistribute. But, I feel like this is more like a plagiarism and a bit unethical to do.

    If anyone got similar experience, I'd like to hear some advice.

    Thank you in advance.

  25. ryde

    ryde is a single person, single file web framework for rust

    Project mention: Show HN: Rust Web Framework | news.ycombinator.com | 2024-10-22

    Another related submission from today:

    Ryde: A Rust Web Framework - https://github.com/swlkr/ryde (October 2024, 5 comments)

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Sqlite discussion

Log in or Post with

Rust Sqlite related posts

  • Ask HN: Best Approach for MongoDB-Like Experience in Deno?

    1 project | news.ycombinator.com | 9 Mar 2025
  • Show HN: Chamber – a light and concurrency-driven audio library built with Rust

    1 project | news.ycombinator.com | 2 Jan 2025
  • I built a performant and concurrency-driven audio library in Rust

    1 project | news.ycombinator.com | 1 Jan 2025
  • Cr-SQLite – Multi-writer and CRDT support for SQLite

    1 project | news.ycombinator.com | 16 Dec 2024
  • Sensible SQLite Defaults

    3 projects | news.ycombinator.com | 6 Dec 2024
  • Show HN: Embed an SQLite database in your PostgreSQL table

    2 projects | news.ycombinator.com | 19 Nov 2024
  • Pglite-fusion: Embed an SQLite database in your PostgreSQL table

    1 project | news.ycombinator.com | 18 Nov 2024
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 15 Mar 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

What are some of the best open-source Sqlite projects in Rust? This list will help you:

# Project Stars
1 sqlx 14,258
2 diesel 13,183
3 sea-orm 7,887
4 rusqlite 3,457
5 cr-sqlite 3,167
6 qsv 2,656
7 sql-studio 2,577
8 sqlsync 2,487
9 rbatis 2,296
10 SQLPage 1,971
11 sea-query 1,310
12 xlite 1,257
13 corrosion 843
14 apalis 617
15 prsqlite 604
16 KiteSQL 596
17 chiselstore 575
18 seaography 428
19 wastebin 416
20 njord 416
21 sqlite-loadable-rs 378
22 oasysdb 357
23 ryde 321

Sponsored
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io