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.
-
regex
An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
-
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 can refer to examples here.
You can also use Rust macro to build a similar feature that you uses in another language.
You can see this article or just use Docker compose if you are familiar with it.
You can see it in action here: https://github.com/lenscas/thanks_bot_2/tree/testing/src/commands/thanks (yes, I committed generated files, that is the easiest way to get an "offline" mode to work)
JOOQ https://www.jooq.org/
If writing the whole API in Rust is too big of a sell for your employer, I highly recommend checking out rutie or helix (running native rust modules from ruby).
I did this at my last company which had a large Rails app. We were doing a lot of text processing on large amounts of text. None of us were that proficient in Rust, but we were able to rewrite single functions from that system one at a time with the help of crates like regex and suffix. The native modules ended up being 10-20 lines of Rust (consisting largely of just calling info aforementioned crates), pretty easy to keep track of with novice Rust knowledge. We got 80% of the speed up we needed from 20% of the effort of what it would have taken to rewrite the whole API in Rust.