Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
heroku-buildpack-rust
A buildpack for Rust applications on Heroku, with full support for Rustup, cargo and build caching.
-
rust-spa-auth
Discontinued Example application using a Vue frontend with Rust backend that has authentication + authorization.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
plotters
A rust drawing library for high quality data plotting for both WASM and native, statically and realtimely 🦀 📈🚀
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
If you haven’t already, maybe check out rust-cross, might have some good info for you too
1: Seems simple enough to me, depending on how low you want to go.
All you have to do is run a binary, so it's pretty easy. And if the service lets you install rustup you can just cargo run as you normally would. For a real example, check out the Heroku buildpack for Rocket.
Rocket is really nice IMO. I'm currently using it for a project. There's actually a lot of good competition in the Rust web framework area, so you have some choice.
Do you mean you want something like Python's tqdm for reporting progress through an iterator? The usual solution for that would be the indicatif crate: https://crates.io/crates/indicatif
For Q2, could take a look at my personal project for this: https://github.com/jtroo/rust-spa-auth
Is there anything like acid-state in Rust?
The closest I could find so far is https://github.com/TheNeikos/rustbreak (but I don't think that does incremental updates)
However, there is an annoyance: when the the minor version is incremented on crates.io side, it takes precedence over my patched crate, and build starts failing again. I want to keep getting minor updates from all the non patched crates, so I'd like not to override crates.io completely.
With Rc, it was failing as I'm using rayon for multi-threaded rendering and Rc is not Sync (that's what I understand from: the Rust memory container cheat-sheet
I just found https://github.com/38/plotters!
You could technically still use Docker Toolbox for Windows (which uses Virtualbox), it's deprecated and won't be updated but you can still download releases on Github: https://github.com/docker/toolbox/releases/tag/v19.03.1
Are you sure you have the right repo? https://github.com/rust-embedded/cross
Anyway, here's the code: https://github.com/fizbin/pe100challenge/blob/main/problem54/src/main.rs