Cookin' with Rust
This Rust Cookbook is a collection of simple examples that demonstrate good practices to accomplish common programming tasks, using the crates of the Rust ecosystem.
Read more about Rust Cookbook, including tips for how to read the book, how to use the examples, and notes on conventions.
This project is intended to be easy for new Rust programmers to contribute to, and an easy to way get involved with the Rust community. It needs and welcomes help. For details see CONTRIBUTING.md.
|Serialize and deserialize unstructured JSON|
|Deserialize a TOML configuration file|
|Percent-encode a string|
|Encode a string as application/x-www-form-urlencoded|
|Encode and decode hex|
|Encode and decode base64|
|Mutate the elements of an array in parallel|
|Spawn a short-lived thread|
|Draw fractal dispatching work to a thread pool|