Rust for the IoT

Building Internet of Things Apps with Rust and Raspberry Pi

  • Joseph Faisal Nusairat

Table of contents

  1. Front Matter
    Pages i-xx
  2. Joseph Faisal Nusairat
    Pages 1-31
  3. Joseph Faisal Nusairat
    Pages 33-90
  4. Joseph Faisal Nusairat
    Pages 91-131
  5. Joseph Faisal Nusairat
    Pages 133-172
  6. Joseph Faisal Nusairat
    Pages 173-235
  7. Joseph Faisal Nusairat
    Pages 237-288
  8. Joseph Faisal Nusairat
    Pages 289-389
  9. Joseph Faisal Nusairat
    Pages 391-427
  10. Joseph Faisal Nusairat
    Pages 429-481
  11. Joseph Faisal Nusairat
    Pages 483-523
  12. Joseph Faisal Nusairat
    Pages 525-576
  13. Joseph Faisal Nusairat
    Pages 577-584
  14. Back Matter
    Pages 585-595

About this book


Get started programming Rust applications for the Internet of Things (IoT). This book is a programming skills migration book that teaches you the Rust programming techniques most useful for IoT applications. You'll step through from server to board development in creating a set of IoT applications.


In Rust for the IoT, you'll learn how to build a modern server side application using Rust on the backend. Then you'll use docker and Kubernetes to deploy these to a managed cloud. Finally you will use a Raspberry Pi with a SenseHat and Camera to capture the world around you and send that information to the cloud.


While you will be able to follow along without any cloud or hardware, to make the most of it we recommend a few cloud pieces and hardware that is designed to integrate with the software in this book. After reading and using this book, you'll see how to apply Rust to the Internet of Things.  


You will:

  • Create a modern Rust backend complete with handling eventual consistency and interacting via a GraphQL interface
  • Use the Raspberry PI to serve as a cheap IoT device that one can easily deploy around the house
  • Capture temperature, video, and use the interactive joystick to interact with the software you’ve created
  • Use OpenCV to perform facial detection from the PI’s camera and save that information to the cloud.
  • Create deployable helm charts for the cloud, and for the device create complete ISOs that allow you to easily deploy the Pi’s OS + custom software


Rust learn IoT Internet Things Raspberry Pi C++ source code programming development software applications Alexa RPi

Authors and affiliations

  • Joseph Faisal Nusairat
    • 1
  1. 1.ScottsdaleUSA

Bibliographic information