Our great sponsors
-
You can use the newError branch: https://github.com/rust-starter/rust-starter/tree/newError
See https://rust-starter.github.io/#feature-errors for why Failure is still used.
-
cookiecutter
A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.
Might be better to turn this into a cookiecutter template:
-
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.
-
Yes, that's std::env::args[0], however a higher level wrapper (I prefer structopt[1]) makes it trivial to produce nice usage output etc.
-
> You do not "need a framework" to build simple CLI tools in Rust. Most people use a command line argument parser, the most popular being clap [0]
-
I've made https://github.com/Keats/kickstart which is roughly the same thing (and improved some bits) without the need to install a python package.
-
As long as you're not doing any complex argument handling, it's dead simple:
https://github.com/ablakey/gameboy/blob/master/src/main.rs#L...
-
Or you can use getopts if that's your thing (it's also a library so limited gain over clap/structop, probably smaller & faster to compile though) e.g. that's what Brian Cantrill does[0] because they're an old fogey[1] :D
[0] https://github.com/joyent/statemap/blob/rust/src/main.rs#L95
-
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.
-
Here is one built with actix-web that I have looked at
https://github.com/nemesiscodex/actix-todo
My advice is pick a http server that you want to use and search github for Cargo.lock