Our great sponsors
-
Box is still sorta special due to its complicated history and its place in the language as the standard owned pointer type. It used to exist as a special built-in pointer type, ~T, but was converted into a library type before 1.0 to make it easier to document its semantics and allow for pluggable allocators: https://github.com/rust-lang/rfcs/blob/master/text/0059-remove-tilde.md
-
ripgrep
ripgrep recursively searches directories for a regex pattern while respecting your gitignore
I've heard, though haven't confirmed myself, that ripgrep is regularly held up as an example of excellent Rust code in a popular and excellent 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.
-
sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. (by launchbadge)
I personally like sqlx, but there's a few options depending on what style of access you want to use.
-
Here is a great one: https://github.com/tokio-rs/axum
-
Are you using criterion? If your benchmarks are particularly noisy, you can increase its sample size to get more statistically sound results.
-
I also managed to find this by searching on GitHub: https://github.com/kantorset/mexrust
-
I would recommend the book first, which tries to make sure it explains everything new that it talks about.
-
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.
-
Just as an aside first: you might want to look at pyo3. py03 is a library that lets you run python from rust or rust from python. If you already have working python components, or you just have specific systems you want to rewrite in rust, this could save you some time.
-
Past that, for rust, I'd recommend something based on wpgu. This is the gold standard of renderers in rust. While wgpu very low level (and you could use it directly if you want), it has a large number of downstream crates.
-
I'd recommend specifically the same crate as the other comment: Bevy.