Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
fitzgeraldnick.com
...We match on this node, and handle the following cases: If the node represents a constant, we return that node’s associated constant value. If the node represents an identifier, we get a reference to its interned identifier string from the context, and then query the lookup function for its...
News & Blog Posts 2018-11-20 ~13 min read
www.infoq.com
...This for loop desugars into a match statement and a loop. If we look at the node in the HIR that represents this match statement, we would see something similar to this. This is a little hard to read for humans, so let's break it down. This Arm struct...
Observations/Thoughts 2022-05-18 ~24 min read
ianjk.com
...usize) { let key = match value { 1 => Key::Left, 2 => Key::Right, 3 => Key::Up, 4 => Key::Down, 5 => Key::Space, _ => return, }; EVENT_HANDLER.with(|event_handler| (event_handler.borrow_mut())(key)) } In our examples/game.rs lets use the key inputs to clear the screen to a different color depending...
Rust Walkthroughs 2022-01-19 ~26 min read
boards.greenhouse.io Archived: primary link replaced with an archive on 2026-09-12T11:35:58.732Z (UTC; replacement date, not snapshot date)
...In contrast, women/non-binary people will seek to match a much higher percentage of the requirements before applying. We encourage everyone to apply and give us a chance to evaluate your skills and experience. We are all learning on the job, and although the listing above has been carefully...
Rust Jobs 2020-12-23 ~3 min read
minikin.me
...Exhaustive matching. Strong types. But Rust cannot answer one essential maintenance question: Is this code safe to change? A function can compile perfectly and still be risky to touch. It can have too many branches, too many special cases, too many hidden paths, and not enough tests to give you...
Project/Tooling Updates 2026-05-20 ~8 min read
jaredly.github.io
...Option<Path>) { let sess = basic_sess(match sysroot { Some(path) => path, None => Path::new("/usr/local/") }); let cfg = build_configuration(&sess); compile_input(sess, cfg, &input, &None, // output directory (unused when there's an output file) &Some(output), // output file None); }``` Now you're all set to be compiling rust...
Blog Posts 2014-12-01 ~3 min read
createlang.rs
...Debian/Ubuntu) - see https://apt.llvm.org/ Check your LLVM version with llvm-config --version and update the inkwell dependency in Cargo.toml to match: LLVM Versioninkwell feature 20.xllvm20-1 19.xllvm19-1 18.xllvm18-1 For example, with LLVM 20: inkwell = { version = "0.7", features = ["llvm20-1"] } # Secondlang...
News & Blog Posts 2020-06-10 ~4 min read
mgattozzi.substack.com
...Time) -> Self { match input { Time::Seconds(s) => s, Time::Milliseconds(ms) => ms.into() } } } impl From<Time> for Milliseconds { fn from(input: Time) -> Self { match input { Time::Seconds(s) => s.into(), Time::Milliseconds(ms) => ms, } } } impl From<Seconds> for Time { fn from(input: Seconds) -> Self { Self::Seconds(input) } } impl From<Milliseconds...
Newsletters 2021-08-10 ~13 min read
adventures.michaelfbryan.com
...Make a Speaker Struct Link to heading After creating a new binary crate (cargo new --bin deserializing-binary-data-files) the first order of business is creating a Rust equivalent for spkr, and for this application our struct definition must exactly match spkr. If it doesn’t, our fields won...
Rust Walkthroughs 2021-06-23 ~13 min read
benjamingeer.eu
...1 CREATE INDEX IF NOT EXISTS idx_contact_email ON contact (email); We want a full-text search index that allows us to find contacts whose name matches a string. We’ll let the user type the first letters of given_name and/or family_name and get a list...
Rust Walkthroughs 2026-10-14 ~23 min read
blog.meilisearch.com
...Conversely, traditional lexical search only matches keywords. With semantic search, a warm clothes query could give results like gloves, coat, and more results related to winter clothing. Vector search unlocks a world of new capabilities for search. Take a look at what some users have already implemented: similar videos recommendations...
Project/Tooling Updates 2023-07-12 ~3 min read
slint.dev
...push, remove, and insert on arrays and models, with matching Model APIs in every language binding. Struct fields used to default to their type’s default value, e.g. false for bool. But often that wasn't the default you wanted for your own structs, forcing you to set the...
Project/Tooling Updates 2026-09-16 ~3 min read
matklad.github.io
...assert!(matches!(events.pop(), Some(Event::Close))); for event in events { match event { // Starting a new node; just push an empty tree to the stack. Event::Open { kind } => { stack.push(Tree { kind, children: Vec::new() }) } // A tree is done. // Pop it off the stack and append to a new current...
Rust Walkthroughs 2023-05-24 ~30 min read
tokio.rs
...TcpStream) { tokio::spawn_async(async move { let mut buf = [0; 1024]; loop { match await!(stream.read_async(&mut buf)).unwrap() { 0 => break, // Socket closed n => { // Send the data back await!(stream.write_all_async(&buf[0..n])).unwrap(); } } } }); } Just like run_async, there is a spawn_async function to spawn...
News & Blog Posts 2018-08-28 ~3 min read
www.fastly.com
July 24, 2023 How do we know our edge applications work? I’m supremely confident when writing code, but sometimes my inflated expectations do not match reality. That’s why I write tests for my code.Fastly’s Compute allows you to build high-scale, globally distributed applications and execute...
Observations/Thoughts 2023-08-02 ~3 min read
dev.to
...like match.
Learn Simple Rust 2020-09-30 ~3 min read
www.kdab.com
...The QML item itself acts in the same way with the contents being rendered to match its size. import QtQuick import QtQuick.Window import com.kdab.servo Window { height: 720 width: 1280 title: webView.title visible: true ServoWebView { id: webView anchors.fill: parent url: "https://servo.org/" } } The screenshot below...
Miscellaneous 2024-04-10 ~3 min read
ferrous-systems.com
...a match expression #272 braces in format args passed to the new defmt::panic! and defmt::assert! macros do not cause unexpected errors anymore #261 update example output in README 4.2flip-link #17 attributes in linker scripts do not cause parse errors anymore (they are ignored) 4.3Version Update...
Tooling 2020-12-02 ~3 min read
kevat.app
...If a checksum matches and a binary misbehaves, an issue on GitHub is welcome. Flatpak and Snap are excluded on purpose. Their sandboxes route the destination through a portal that hides the volume and device details Kevat relies on — inside one, a USB drive looks like a network mount and...
Project/Tooling Updates 2026-08-05 ~8 min read
www.shuttle.rs
...Now when we use any SQL queries, we can propagate the error by using ? instead of unwrapping or having to manually deal with error handling! Of course, there will be certain situations where we can handle errors manually, but this will save a lot of pattern matching (or alternatively, .unwrap...
Observations/Thoughts 2024-02-14 ~8 min read
"if a ptr is dereferenced in a forest and nobody hears it, is it sound?"

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.