kerkour.com
sandwich
kerkour.com | sandwich | |
---|---|---|
2 | 1 | |
456 | 92 | |
0.0% | - | |
4.5 | 8.7 | |
2 months ago | 2 months ago | |
Rust | Rust | |
Apache License 2.0 | GNU Affero General Public License v3.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.
kerkour.com
-
SQL and Rust
There are plenty: - diesel - famous example of what the Rust type system can get you beyond just "memory safety". My go-to choice for most projects. Having autocomplete for my database DSL is something I find it hard to go without. But it comes at a fairly high cost of confusing, generic-heavy code. - sqlx - also a very solid choice. You write SQL queries, which are optionally checked against a database instance at compile-time. A downside I've heard repeated a lot (by some fairly reputably figures) is that sqlx adds a fairly significant overhead to queries, and according to this issue is 7-70x slower than diesel. If the performance of your database is important to you, run some benchmarks and see if it's an issue - seaorm - a relatively new ORM, and I haven't used it much, but my initial impressions were that it was a little too "magic". Maybe it just reminded me too much of Spring Boot. I'm not sure. It's probably a totally fine library - postgres (or equivalent) - you can always just skip the ORM and use the database driver directly. Pretty nice for smaller projects, but totally viable for big projects too. Just a matter of personal preference
-
How to implement worker pools in Rust
As usual, you can find the code on GitHub: github.com/skerkour/kerkour.com (please don't forget to star the repo 🙏).
sandwich
What are some alternatives?
shisho - Lightweight static analyzer for several programming languages
reqwest-boring - Impersonating the Chrome browser made easy [Moved to: https://github.com/4JX/reqwest-impersonate]
binserve - A fast production-ready static web server with TLS (HTTPS), routing, hot reloading, caching, templating, and security in a single-binary you can set up with zero code.
reqwest-impersonate - Impersonating the Chrome browser made easy
tangram - Tangram makes it easy for programmers to train, deploy, and monitor machine learning models.
navajo - A cryptographic toolkit for Rust
myblog - Personal blog written in Rust, using salvo and sqlx
rustls - A modern TLS library in Rust
hypercube - HyperCube is a revolutionary, high-performance decentralized computing platform. HyperCube has powerful computing capabilities to provide high-performance computing power and large-scale data storage support for VR, AR, Metaverse, Artificial Intelligence, Big Data, and Financial Applications.🛰
oso - Oso is a batteries-included framework for building authorization in your application.
metrics
rust-tls-api - TLS API for Rust, and API implementations over native-tls and openssl in separate crates