Table of Contents
Rust
- https://doc.rust-lang.org/rust-by-example/
- https://doc.rust-lang.org/book/
- https://nnethercote.github.io/perf-book/
- https://tokio.rs/tokio/tutorial
- Rust for Rustaceans
- Zero to Production in Rust
- Rust in Action
- Rust Atomics and Locks
- https://github.com/rust-lang/rustlings
- https://rust-cli.github.io/book/index.html
- https://rust-cli-recommendations.sunshowers.io/index.html
- https://lib.rs/
- https://corrode.dev/blog/
Crates 🔗
- nextest: A next-generation test runner for Rust
- proptest: Hypothesis-like property testing for Rust
- cloudflare/shellflip: Graceful process restarts in Rust
- tokio-rs/axum: Ergonomic and modular web framework built with Tokio, Tower, and Hyper
- AThilenius/axum-connect: Axum + Connect-Web
- subsecond: a hot-reloading library for Rust
- https://github.com/launchbadge/sqlx
- clorinde: generate type-checked Rust from your PostgreSQL
- https://github.com/awslabs/aws-sdk-rust
- dtolnay/thiserror: derive(Error) for struct and enum error types
- tracing: Application level tracing for Rust
- tracing-tree: tree-structured summaries of tracing
- https://github.com/getsentry/sentry-rust
- halcyonnouveau/clorinde: Generate type-checked Rust from your PostgreSQL
- cloudflare/pingora: A library for building fast, reliable and evolvable network services
- https://github.com/geofmureithi/apalis
- bheisler/criterion.rs: Statistics-driven benchmarking library for Rust
- jdx/demand: prompt library for rust
- tera: a template engine for Rust based on Jinja2/Django
- maud: html template engine using macros
- asynk-stream: ergonomic and composable async stream generation without macros
- bacon: background code checker
- tower-livereload: middleware to automatically reload your web browser during development
- tower-sec-fetch: Cookieless CSRF protection library
- tower-surf: A stateless CSRF middleware for tower
- redb: an embedded key-value database in pure Rust
- jiff: a datetime library for Rust that encourages you to jump into the pit of success
Using mold as the linker 🔗
[target.aarch64-apple-darwin]
rustflags = ["-C", "link-arg=-fuse-ld=/opt/homebrew/bin/ld64.mold"]
Scripts in Rust 🔗
#!/usr/bin/env -S cargo +nightly -Zscript
---cargo
[package]
edition = "2024"
[dependencies]
reqwest = { version = "0.12" }
tokio = { version = "1", features = ["full"] }
---
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let data = reqwest::get("https://httpbin.org/headers")
.await?
.text()
.await?;
print!("{}", data);
Ok(())
}