This is the code repository for Rust Programming Cookbook , published by Packt.
 
 
 
 
 
 
Go to file
Claus Matzinger 16a31fb177 add publish-crate 2019-10-08 14:50:56 +02:00
Chapter01 fixes 2019-10-08 14:47:50 +02:00
Chapter02 fixes 2019-10-08 14:47:50 +02:00
Chapter03 add publish-crate 2019-10-08 14:50:56 +02:00
Chapter04 all of the things 2019-08-30 15:54:55 +02:00
Chapter05 cleanup 2019-07-26 10:09:01 +02:00
Chapter06 cleanup III 2019-07-26 10:13:51 +02:00
Chapter07 all of the things 2019-08-30 15:54:55 +02:00
Chapter08 cleanup II 2019-07-26 10:13:06 +02:00
Chapter09 all of the things 2019-08-30 15:54:55 +02:00
Chapter10 fixes 2019-10-08 14:47:50 +02:00
.gitignore all of the things 2019-08-30 15:54:55 +02:00
.gitmodules all of the things 2019-08-30 15:54:55 +02:00
LICENSE Create LICENSE 2017-07-31 12:27:07 +05:30
README.md Update README.md 2017-12-17 20:02:13 +05:30

README.md

Rust Cookbook

This is the code repository for Rust Cookbook, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

If you are building concurrent applications, server-side programs, or high-performance applications, you will benefit from this language. This book comes with a lot of application-specific recipes to kick-start your development of real-world high-performance applications with the Rust programming language and integrating Rust units into your existing applications. In this book, you will find some 80 practical recipes written in Rust that will allow you to use the code samples right away in your existing applications. These recipes have been tested with stable rust compiler versions of 1.14.0 and above. This book will help you understand the core concepts of the Rust language, enabling you to develop efficient and high-performance applications by incorporating features such as zero cost abstraction and better memory management.

Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

The code will look like the following:

 // expression
    let x_val = 5u32;

    // y block 
    let y_val = {
        let x_squared = x_val * x_val;
        let x_cube = x_squared * x_val;

        // This expression will be assigned to `y_val`
        x_cube + x_squared + x_val
    };