Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
rust-lang-nursery.github.io
Clients | Recipe | Crates | Categories | |--------|--------|------------| | Make a HTTP GET request | [![reqwest-badge]][reqwest] | [![cat-net-badge]][cat-net] | | Set custom headers and URL parameters for a REST request | [![reqwest-badge]...
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Making Requests
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Calling a Web API
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Downloads
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Authentication
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Full Stack Web Leptos is a full stack web framework. The first recipe renders HTML on the server only. The second adds hydration so the client can re-run the same components as WebAssembly for interactivity. Return filtered results as HTML...
The Rust Cookbook Book 2024-01-01 ~3 min read
rust-lang-nursery.github.io
WebAssembly [wasmtime][wasmtime] is an embeddable WebAssembly runtime. These recipes cover the host embedding API — loading modules, calling exports, sharing linear memory, and wiring up host-defined functions that guests can call back into...
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Call an exported WebAssembly function [![wasmtime-badge]][wasmtime] [![cat-wasm-badge]][cat-wasm] [wasmtime][wasmtime] embeds a WebAssembly runtime inside a Rust host program. This recipe compiles a module from WebAssembly Text format (WAT)...
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Exchange data via WebAssembly linear memory [![wasmtime-badge]][wasmtime] [![cat-wasm-badge]][cat-wasm] WebAssembly modules communicate with their host through linear memory — a flat, byte-addressable array that both sides can read and writ...
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Define host functions for WebAssembly [![wasmtime-badge]][wasmtime] [![cat-wasm-badge]][cat-wasm] WebAssembly modules can import functions from the host, enabling guests to call back into Rust. This recipe defines a print function in the ho...
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Component Model — typed strings and structs [![wasmtime-badge]][wasmtime] [![wasmtime-wasi-badge]][wasmtime-wasi] [![wit-bindgen-badge]][wit-bindgen] [![cat-wasm-badge]][cat-wasm] Core WebAssembly function parameters are limited to i32, i64...
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Smart Pointers
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Synchronization Primitives
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Option and Result Combinators
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Parsing | Recipe | Crates | Categories | |--------|--------|------------| | Parse tagged fields from a log line | [![nom-badge]][nom] | [![cat-parser-implementations-badge]][cat-parser-implementations] | | Decode a hex color | [![nom-badge]...
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Parsing content from string
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Parse an unstructured string into key value pairs [![winnow-badge]][winnow] [![cat-parser-implementations-badge]][cat-parser-implementations] [winnow][winnow] is a parser-combinator library descended from nom, tuned for ergonomics and speed...
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Read CSV data with a parsing expression grammar [![pest-badge]][pest] [![cat-parser-implementations-badge]][cat-parser-implementations] [pest][pest] takes a different approach from the combinator libraries: instead of writing parser code, y...
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
File Watching
The Rust Cookbook Book 2024-01-01 ~1 min read
rust-lang-nursery.github.io
Find an Executable Find a binary on the PATH [![which-badge]][which] [![cat-filesystem-badge]][cat-filesystem] Locating an executable means walking each directory on the PATH. It also means applying the platform's rules. On Windows that inc...
The Rust Cookbook Book 2024-01-01 ~1 min read
"This is the difference in approaches of the two languages. In C++ if the code is vulnerable, the blame is on the programmer. In Rust if the code is vu..."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.