SQLite
diesel
Our great sponsors
SQLite | diesel | |
---|---|---|
2 | 57 | |
145 | 9,831 | |
9.0% | 3.1% | |
7.4 | 9.6 | |
about 2 months ago | 3 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SQLite
We haven't tracked posts mentioning SQLite yet.
Tracking mentions began in Dec 2020.
diesel
-
Ormlite: An ORM in Rust for developers that love SQL
Congratulations to the release. I know all of this is hard work. I would like to invite you to submit a ormlite implementation to the diesel benchmark collection. As soon as that's merged you will get regular reports here. The relevant code is here in the diesel repository.
-
Destructive move in C++2
Doing arbitrary syntax transformations in procedural macros is not powerful enough? Does C++ have something like serde or diesel?
-
State of Rust for web backends
I've been building a relatively small project with axum and diesel, and I'm pretty happy with it.
-
Using Rust at a startup: A cautionary tale
There's also Diesel and SeaORM for higher level interfaces.
-
Learning Rust from C and Java?
diesel rs: https://diesel.rs/
-
Which framework is better for backend?
For connecting and performing queries on the db, I prefer diesel.
-
SQL and Rust
It's not even a libpq issue, but an issue with a specific libpq distribution. You just need to use a not broken version of libpq or ask the vendor of that specific libpq version to fix their binary. See here for a in depth discussion. Calling diesel or libpq to be responsible for this is rather strange.
- What Makes the Zig Programming Language Unique?
-
Initial release of diesel-async
Diesel is a Safe, Extensible ORM and Query Builder for Rust diesel-async is an pure rust fully async connection implementation for Diesel. It provides connection implementations for the Diesel PostgreSQL and MySQL backend. It is designed to be used as drop in replacement for the sync connection implementations in Diesel. diesel-async support almost all the functionality provided by diesel (beside migrations), so it features the same compile time guarantees as Diesel itself. It reuses Diesels query builder infrastructure here.
We have some benchmarks here in the main diesel repository. Results are tracked here. A short summary is that diesel-async is nearly as fast as diesel itself for those benchmarks. It outperforms other implementation like sqlx and sea-orm. I should also not that I have not put in any effort to optimize the implementation, so it might be possible to get it on par with diesel itself. Otherwise as diesel-async internally use the pure rust database connection implementations and not the c libraries some differences might be attributed to differences in that implementations as well.
What are some alternatives?
sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL.
sea-orm - 🐚 An async & dynamic ORM for Rust
rusqlite - Ergonomic bindings to SQLite for Rust
rustorm - an orm for rust
rbatis - Rust Compile Time ORM and SQL Toolkit. async, pure Rust compile-time Dynamic SQL
r2d2 - A generic connection pool for Rust
rusqlite-model - Model trait and derive implementation for rusqlite
tikv - Distributed transactional key-value database, originally created to complement TiDB
deuterium-orm - Fully typed SQL query builder for Rust [deprecated]
quaint - SQL Query AST and Visitor for Rust
treasure - ORM for rust (journey begins)
juniper-from-schema - Schema first GraphQL in Rust with Juniper