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)
rust-blog
Educational blog posts for Rust beginners (by pretzelhammer)
naphtha | rust-blog | |
---|---|---|
3 | 63 | |
5 | 6,622 | |
- | - | |
0.0 | 5.0 | |
over 1 year ago | about 2 months 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
rust-blog
Posts with mentions or reviews of rust-blog.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-04.
- Common Rust Lifetime Misconceptions
-
What are some good resources for experienced programmers new to Rust to learn about lifetimes?
Hands down the best resource (after you've had sufficient experience with Rust, especially so) - https://github.com/pretzelhammer/rust-blog/blob/master/posts/common-rust-lifetime-misconceptions.md
-
How can a parameter type `T` be not long living enough?
I really really recommend reading this to understand lifetimes and generics in Rust better.
- What learning resource has had the greatest impact in elevating your understanding and knowledge of Rust?
- I do not understand why Sized bound prevents a trait from being used as a trait object.
-
Lifetime annotations: why doesn't Rust?
It's already now that the elided lifetimes are not always correct, as pointed out in Common Rust Lifetime Misconceptions (No 5) by pretzelhammer.
-
Anything C can do Rust can do Better
Common Rust Lifetime Misconceptions - kirill
-
Resources on Lifetimes
Probably a bit more advanced than what you asked about, but still possibly useful: Common Rust Lifetime Misconceptions by /u/pretzelhammer.
-
Borrow checker puzzles
This helped me a lot understanding Rust ownership rules and lifetimes: https://github.com/pretzelhammer/rust-blog/blob/master/posts/common-rust-lifetime-misconceptions.md