Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
rust.code-maven.com
popularity While the technical capabilities of a programming language are very important, the social acceptance of the language also has a huge impact on the ecosystem around the language. It is also a good (or at least reasonable) measurem...
Miscellaneous 2025-06-18 ~6 min read
rust.code-maven.com
In this online session Leon Vak, who gave 3 excellent presentations about Embedded programming and Linux kernel programming with Rust at Abra, is going to show us how he uses Rust to write programs for an embedded device. Debian Benchmark S...
Rust Walkthroughs 2025-03-26 ~47 min read
rust.code-maven.com
While the technical capabilities of a programming language are very important, the social acceptance of the language also has a huge impact on the ecosystem around the language. It is also a good (or at least reasonable) measurement of the...
Miscellaneous 2024-12-18 ~5 min read
rust.code-maven.com
Given an iterator, how can we know how many elements it returns? Unlike with vectors if we have an iterator we cannot just simply fetch the number of iterations it has. We actually need to iterate over all the iterations and count somehow....
Miscellaneous 2024-09-04 ~4 min read
rust.code-maven.com
June 17 is a rather arbitrary date to write this report, but the Rust user groups page was updated exactly 3 months ago. As I updated the numbers there I wanted to submit it to This week in Rust, but, rather understandably, they don't like...
Miscellaneous 2024-06-19 ~5 min read
rust.code-maven.com
While working on the Rust Digger I wanted to be able to collect and display the elapsed time of the varous processes. Partially I waned this to be able to profile the code and make improvements where it will make the most impact, and partia...
Miscellaneous 2024-05-08 ~2 min read
rust.code-maven.com
Rust provides a nice way to create an iterator based on a struct. In this example we are creating an iterator that will allow us to iterate over the Fibonacci numbers. Some iterators have a clear range of things they iterate over, this one...
Miscellaneous 2024-05-01 ~3 min read
rust.code-maven.com
In Object Oriented Programming languages you can usually define a special method that will be called when the instance goes out of scope or otherwise destroyed. The generic name of this method is "destructor" though in different programming...
Rust Walkthroughs 2024-04-24 ~4 min read
rust.code-maven.com
This is a simple example on how to use SurrealDB running in Docker and connect to it from your computer using a Rust-based client. It is a simplified version of the example provided by SurrealDB. I assume you already have Docker and Rust in...
Rust Walkthroughs 2024-04-17 ~4 min read
rust.code-maven.com
Meetup Stats I wanted to know the relative sizes of the various Rust-specific Meetup groups so I collected them into a YAML file and then generated this page. If you are interested which one is meeting in the next month or so check out This...
Miscellaneous 2024-04-10 ~5 min read
rust.code-maven.com
As your project growth at one point your might feel that splitting the code into multiple crates could be a good idea. It might make the code cleaner and more reusable across projects. You might even decide to publish some of these crates s...
Rust Walkthroughs 2024-03-13 ~4 min read
rust.code-maven.com
We can use println and eprintln in the Rocket-based code, but it is much better to use the logging facilities of Rocket. I think. Dependencies Nothing fancy. We use Rocket. examples/rocket/logging/Cargo.toml [package] name = "logging" versi...
Rust Walkthroughs 2024-01-24 ~1 min read
rust.code-maven.com
The Rocket web framework configuration system allows you to override the default values and provide additional keys and values in the Rocket.toml file located in the root directory of the project. There is a whole page about Rocket configur...
Rust Walkthroughs 2024-01-24 ~5 min read
rust.code-maven.com
Clap allows the definition of subcommand. Each subcommand can have its own separate set of parameters. Many common tools work like this. For example git or gh or for that matter our beloved cargo. Dependencies Nothing fancy here. We use the...
Miscellaneous 2024-01-17 ~3 min read
rust.code-maven.com
In this article we'll use SurrealDB embedded in our Rust program using an in-memory database. As an in-memory database does not have persistent storage it is not good to store data for a long period of time, but sometimes it can be quite us...
Miscellaneous 2024-01-17 ~6 min read
rust.code-maven.com
Another one of my counter examples part of the SurrealDB series. This one works on the command line and counts how many times we ran the program with different command line parameter: It works like this: $ counter foo 1 $ counter foo 2 $ co...
Miscellaneous 2024-01-17 ~5 min read
rust.code-maven.com
In the web application in some field I am expecting a non-negative integer number. Obviously I need to verify that the user does not supply a string or a floating point number. Back in my previous life when I was writing mostly Perl and Pyt...
Miscellaneous 2024-01-10 ~5 min read
rust.code-maven.com
This is a Counter example, part of the Rocket web development framework of Rust series. Unlike the Single counter in text file example, here we don't use a file on the server to store the counter. Instead we store the counter a cookie in th...
Miscellaneous 2024-01-10 ~8 min read
rust.code-maven.com
There are several ways to handle errors, or undefined results. One of them is using unwrap. Of course some people will say using unwrap is not handling the error but sweeping it under the carpet in a hope that the garbage won't burst throug...
Miscellaneous 2024-01-10 ~3 min read
rust.code-maven.com
If you want to learn how to create a Rust library it is very easy to find Crates and see how other people do things. However, if your goal is to create applications, or end-user applications that serve other people as well, eople who most l...
Miscellaneous 2024-01-03 ~4 min read
"If Rust is martial arts teacher, Perl is a pub brawler. If you survive either, you’re likely to be good at defending yourself, though both can be pa..."

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.
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.