Our great sponsors
-
Typically programs are configured through a config object. People like to use things like clap, structopt, or argh for passing in arguments through the CLI https://github.com/google/argh. You can also use the env! macro for embedding values in at compile time, or by going through the std::env::var infrastructure for runtime env vars.
-
For sure! Actually, it has been suggested to be to the standard library. Right now, it's available as the experimental feature once_cell.
-
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.
-
You may be pleased to learn that this is in the works as std::lazy::SyncLazy -- currently feature gated because it's unstable behind RFC 2788.
-
Try rouille. It's a threaded web server (no async).
-
By that metric, you should claim that Rust is 15 years old, because Graydon started it July 23rd, 2006 as a personal project.
-
Why not use something like actix-web that is more "complete"?
-
I've been messing around learning web dev in rust recently, feel free to check out my hello-actix repo for some guidance. The most complete example there is the sqlite project.
-
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.
-
Maybe you would like using rocket, which is following a more batteries included approach.
-
parking_lot
Compact and efficient synchronization primitives for Rust. Also provides an API for creating custom synchronization primitives. (by faern)
parking_lot is being considered for replacing the mutexes in std. Last I checked the libs team did a review of its internals and left some feedback for the implementor to address before it could be considered further: https://github.com/faern/parking_lot/pull/1