1.

Record Nr.

UNINA9910427054703321

Autore

Nusairat Joseph Faisal

Titolo

Rust for the IoT : building Internet of Things apps with Rust and Raspberry Pi / / Joseph Faisal Nusairat

Pubbl/distr/stampa

New York, New York : , : Apress, , [2020]

©2020

ISBN

1-4842-5860-6

Edizione

[1st ed. 2020.]

Descrizione fisica

1 online resource (XX, 595 p. 81 illus., 74 illus. in color.)

Disciplina

005.133

Soggetti

Rust (Computer program language)

Internet of things

Raspberry Pi (Computer)

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Nota di contenuto

1: Introduction -- 2: Server Side -- 3: File Uploading and Parsing -- 4: Messaging and GraphQL -- 5: Performance -- 6: Security -- 7: Deployment -- 8: Sense HAT Part I -- 9: Sense HAT Part II -- 10: Camera -- 11: Integration -- 12: Final Thoughts.

Sommario/riassunto

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.