DioxusLabs / DioxusLabs/docsite

Notes on Databases and Rust are misleading

Open
#654 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
206
Forks
208
Avg merge
1h 11m
Merged PRs (30d)
3

Description

https://dioxuslabs.com/learn/0.7/tutorial/databases#notes-on-databases-and-rust lists several database libraries and explicitly calls out diesel for not having async support. This is in the best case misleading as [diesel-async](https://crates.io/crates/diesel-async) exists for more than 5 years at this point. It's also definitely production ready as it is used to serve almost all the crates in the rust ecosystem via crates.io.

Even without the existence of this crate the selection still contains crates like rusqlite that don't provide an async API as well.
Beside of that, the other parts of the page promote using SQLite as database for a lot of use-cases. Due to how SQLite works it is more or less incompatible with async rust interface and only usable with an high performance penalty there.

That all written: It still fine to dislike diesel, maybe just don't try to hide that behind untrue arguments like this?

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the linked Databases and Rust tutorial section and review its statements about Diesel, diesel-async, rusqlite, SQLite, and async Rust. Update the guidance so the claims are accurate and balanced, then verify that the rendered page no longer presents misleading reasons for or against these libraries.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.