Please have Rust installed (via RustUp) and a working IDE/editor setup.
We're going to take everything we've learned over the last four weeks, and combine them into a capstone project: a client/server setup, representing data-collection for an Internet-of-Things (IoT) setup.
Obviously, a production-level setup would be a bit more polished and wouldn't use sqlite---but this is a good example of how to put together a Rust project.
At the end of this session, you'll have working templates for a lot of common tasks. You'll also have a good idea of how to structure a Rust project, and how to use the various tools that Rust provides.
- Introduction
- Planning Our Project
- Shared Data Structures
- Collection Daemon Mk 1
- Collection Server Mk 1
- Error Handling in the Collector
- Let's take a break
- Setting the Collector ID
- Web Service Mk 1
- Web Server
- Let's Use Less Bandwidth
- Bi-Directional Communication
- Let's take a break
- Sending Commands
- Prevent Unbounded Growth
- Giving the Collector a Diet
- Let's take a break
- (Continuing to give the collector a diet)
- End-of Class QA
- Thanks for Coming
- Please stay in touch! My email address is [email protected]