Our great sponsors
|about 20 hours ago||6 days ago|
|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.
[I made this] – staticPi – websocket forwarder
5 projects | /r/rust | 24 Feb 2023
staticpi, is a websocket forwarding service. Basically, it enables one to keep a Raspberry pi, or any computer, “connected”, in order to send and receive messages to and from any client, without having to deal with a static IP address, open ports on your router, or similar. Built in Rust, using axum, which in turn uses tungestine-rs for the websocket connections, tokio, sqlx, redis-rs and others.
A Rust client library for interacting with Microsoft Airsim https://github.com/Sollimann/airsim-client
13 projects | /r/robotics | 22 Jan 2023
redis (use streams and pubsub)
Redust: a new Redis client
6 projects | /r/rust | 24 May 2022
Are you addressing the long-standing issue that the redis client has related to dropped connections?6 projects | /r/rust | 24 May 2022
redis: by far the most popular and definitely the most ergonomic library. However, I was frustrated by its pubsub support; while generally acceptable, it's impossible to perform subscription operations while consuming messages. I like the library, but the workarounds to this issue were unacceptable to me.
Chumsky, a parser combinator crate that makes writing error-tolerant parsers with recovery easy and fun!
14 projects | /r/rust | 28 Oct 2021
I switched to LALRPOP for gluon but I still use combine in https://github.com/mitsuhiko/redis-rs and some other projects which need to parse "protocols" (less need for good error messages/error recovery and more need for speed).
Getting started with MongoDB and Redis in Rust
6 projects | dev.to | 28 Jun 2021
The project is implemented with MongoDB Rust driver and redis-rs crate.
Redis Streams in Action - Part 2 (Rust app to consume from the Twitter Streaming API)
6 projects | dev.to | 31 May 2021
redis-rs, a Rust library for Redis with both high and low-level APIs
What are some examples of particularly well written crates?
9 projects | /r/rust | 19 May 2021
I think the redis crate was a well-organized API library. It's still sometimes hard to know the right things to make public and I think they nailed it.
Trying to utilize sqlx with postgresql and expecting performance on par with jdbc 😀. How do you guys do prepared statement, arg/param setting, batch insertions etc? The documentation doesn’t take me anywhere near that.
3 projects | /r/rust | 28 Mar 2021
Consuming high-throughput Redis streams with Rust
2 projects | dev.to | 9 Mar 2021
Based on redis-rs, this library is a port of the Elixir Redix.Stream library.
PHP to Golang
9 projects | /r/golang | 3 Jun 2023
New Rustacean Looking For Guidance
6 projects | /r/rust | 11 May 2023
Why ORMs are so hated?
4 projects | /r/golang | 11 May 2023
Thanks for sharing your experiences. I've been looking to get into snowflake for some time (even opened this https://github.com/launchbadge/sqlx/issues/986) . We thought to move to it years ago, but there's no way it was going to replace a significant amount of the mariadb we're running, and unless it did I wasn't looking forward to managing 2 DBs.
Prá galera curiosa sobre Rust, alguns "contras" a considerar.
4 projects | /r/brdev | 10 May 2023
What ORM do you use?
6 projects | /r/rust | 9 May 2023
however, a much worse problem is its inability to do dynamic queries. If you have two queries that only differ in a column name, you're forced to copy paste the entire query. You can try and hack around it, but it's ugly either way. Here's a good overview, with no really good solutions.
Becoming Rustacean:Awesome Free Online Resources to Learn Rust Programming
6 projects | news.ycombinator.com | 11 Apr 2023
Rust allows me to mainly only run the application to confirm things work from a business perspective.
For people starting out building stuff in rust - understand that there is a distinction of async code and libraries and can lead to confusing compiler errors if you don't realize there is a distinction. It's simple in hindsight but did cause me to waste hours barking up the wrong trees at first. Other wise just learn about `match` and Result/Option types asap, they're fundamental.
https://github.com/http-rs/tide tide is great to create an http server / routes
https://github.com/djc/askama I use this to template out HTML and it checks all my boxes, dynamic data, passing in functions, control flow.
https://github.com/launchbadge/sqlx sql interface for a variety of backend, async safe.
https://github.com/seanmonstar/reqwest http client to make requests
Rust is amazing, don't let the initial few speed bumps discourage you - building real things with rust is no more challenging today than any other modern language stack.
What are the advantages of using Rust to develop KV databases？
2 projects | /r/rust | 22 Mar 2023
Perhaps Rust has some nice crates that will assist your development, but you're going to have to evaluate whether their design decisions meet the needs of your design, especially if you want to handle powerloss without data loss whilst maintaining high performance. Here's an example of where a create chose design over performance https://github.com/launchbadge/sqlx/issues/2007
Why use Rust on the backend? by Adam Chalmers
3 projects | /r/rust | 21 Mar 2023
SQLx's query macros act like format macros, and the database is apparently smart enough to not treat bind parameters as part of the SQL.3 projects | /r/rust | 21 Mar 2023
Why use Rust on the back end?
6 projects | news.ycombinator.com | 20 Mar 2023
> Doesn't it need to run introspection queries to check the table structures?
Yes, but it can also run in 'offline' mode where it builds against saved metadata 
What are some alternatives?
diesel - A safe, extensible ORM and Query Builder for Rust
tikv - Distributed transactional key-value database, originally created to complement TiDB
sea-orm - 🐚 An async & dynamic ORM for Rust
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
r2d2 - A generic connection pool for Rust
rust-postgres - Native PostgreSQL driver for the Rust programming language
rbatis - Rust Compile Time ORM robustness,async, pure Rust Dynamic SQL
PickleDB - PickleDB-rs is a lightweight and simple key-value store. It is a Rust version for Python's PickleDB
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
sled - the champagne of beta embedded databases
axum-rest-starter-example - Quick demo of a REST frontend with a Redis session store.