naphtha
Universal database connection layer for your application in Rust. Implements the most common functions insert, update and remove for database connections. Change the database without having to adjust your code. Specific models can be stored in different databases. Query models by property. Migrations in pure Rust and available during runtime. (by emirror-de)
mobc
A generic connection pool for Rust with async/await support (by importcjj)
Our great sponsors
naphtha | mobc | |
---|---|---|
3 | 1 | |
5 | 270 | |
- | - | |
0.0 | 5.5 | |
over 1 year ago | 20 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
naphtha
Posts with mentions or reviews of naphtha.
We have used some of these posts to build our list of alternatives
and similar projects.
- naphtha 0.5.0 - Universal database connection layer
-
What's your favorite database solution for when you need something more advanced than key-value?
It will support SQLite, MySQL and PostgreSQL that can be changed easily. It is not completely finished yet. https://github.com/emirror-de/naphtha
-
Is there such a thing as too many traits?
I am currently implementing the naphtha crate which at least will support MySQL, SQLite and PostgreSQL. Changing the backend will be only one line of code change if you are using it the right way. Implementing other backends is on the list, but not guaranteed to be realised. The current version is limited to the example, but I will upload a fix in the next few days for that. Have a look if you are interested. https://github.com/emirror-de/naphtha
mobc
Posts with mentions or reviews of mobc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-17.
-
Full-stack Rust: A complete tutorial with examples
We’re using the warp web framework to build the backend. Since we’re using a Postgres database to store our data, we’ll also add the mobc connection pool for Postgres.
What are some alternatives?
When comparing naphtha and mobc you can also consider the following projects:
tensorbase - TensorBase is a new big data warehousing with modern efforts.
rust-redis-101 - An example for how to use the Rust client for Redis