Rust Standard Library Cookbook: Over 75 recipes to leverage the power of Rust

·
· Packt Publishing Ltd
3.0
1 review
Ebook
360
Pages

About this ebook

Explore the Rust Standard library and compose algorithms with minimal dependency on external librariesKey FeaturesDevelop high-quality, fast, and portable applications by leveraging the power of Rust's Standard library.Practical recipes that will help you work with the Standard library to boost your productivity as a Rust developer.Learn about most relevant external crates to be used along with the Standard library.Book Description

Mozilla’s Rust is gaining much attention with amazing features and a powerful library. This book will take you through varied recipes to teach you how to leverage the Standard library to implement efficient solutions.

The book begins with a brief look at the basic modules of the Standard library and collections. From here, the recipes will cover packages that support file/directory handling and interaction through parsing. You will learn about packages related to advanced data structures, error handling, and networking. You will also learn to work with futures and experimental nightly features. The book also covers the most relevant external crates in Rust.

By the end of the book, you will be proficient at using the Rust Standard library.

What you will learnHow to use the basic modules of the library: strings, command line access, and more.Implement collections and folding of collections using vectors, Deque, linked lists, and more.Handle various file types, compressing, and decompressing data.Search for files with glob patterns.Implement parsing through various formats such as CSV, TOML, and JSON.Utilize drop trait, the Rust version of destructor.Resource locking with Bilocks.Who this book is for

This book is for developers who would like to explore the power of Rust and learn to use the STL for various functionalities. A basic Rust programming knowledge is assumed.

Ratings and reviews

3.0
1 review

About the author

Jan Hohenheim is a senior software engineer and an active contributor to, and advocator of, the open source community. Over the years, he has acquired a deep understanding of systems programming through languages such as C++ and Rust by modernizing and refactoring big and complex codebases. His passions include all things AI and Blockchain. In his free time, he researches innovative approaches to bringing biology and technology closer together, which has led him to develop his own Machine Learning framework. You can follow his projects on GitHub. His username is jnferner. Daniel Durante is an avid coffee drinker/roaster, motorcyclist, archer, welder, and carpenter whenever he isn’t programming. Right from the age of 12, he has been involved with web and embedded programming with PHP, Node.js, Golang, Rust, and C. He has worked on text-based browser games that have reached over 1,000,000 active players, created bin-packing software for CNC machines, embedded programming with cortex-m and PIC circuits, high-frequency trading applications, and helped contribute to one of the oldest ORMs of Node.js (SequelizeJS).

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.