binserve
kerkour.com
Our great sponsors
binserve | kerkour.com | |
---|---|---|
9 | 2 | |
955 | 456 | |
- | 0.7% | |
4.2 | 4.5 | |
2 months ago | about 2 months ago | |
Rust | Rust | |
MIT License | 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.
binserve
-
Barebones music server with permalinks
https://github.com/mufeedvh/binserve https://github.com/svenstaro/miniserve
- Show HN: Binserve – Fast single-binary static web server
-
I made binserve - A fast static web server with TLS, routing, hot reloading, caching, templating, and security in a single-binary
So I just uploaded all the architecture executables for Android, check it out. And it's not an APK, download a command-line interface app like Termux and run it from there, you can use curl or wget to download it. Let me know if you need anything else! :)
- Announcing binserve v0.2.0 - A fast static web server with TLS, routing, hot reloading, caching, templating, and security in a single-binary
- Announcing binserve v0.2.0 - A fast static web server with TLS (HTTPS), Routing, Hot Reloading, Caching, Templating, and Security
- Blog is now hosted on a GPS/LTE modem
- A fast static web server with routing, templating, and security
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 🙏).
What are some alternatives?
simple-http-server - Simple http server in Rust (Windows/Mac/Linux)
shisho - Lightweight static analyzer for several programming languages
darkhttpd - When you need a web server in a hurry.
sandwich - Sandwich is a multi-platform, multi-language, open-source library that provides a simple unified API for developers to use (multiple) cryptographic libraries in their applications.
http-server - Simple and configurable command-line HTTP server
tangram - Tangram makes it easy for programmers to train, deploy, and monitor machine learning models.
rust-embed - Rust Macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
myblog - Personal blog written in Rust, using salvo and sqlx
httpserve - Spin up a little http server from the commandline.
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.🛰
poem - A full-featured and easy-to-use web framework with the Rust programming language.
metrics