Building a sailing starter board with Rust (RTIC)

Since I wrote last here my interest in microprocessors and embedded in general has been constantly growing. I have dabbed into designing my own PCBs getting them fabricated and soldering SMD components on them. The Story I live on a small island in north of Scotland, and I fell in love with sailing from the first week we moved here in 2017. Our local sailing club is more than a hundred years old....

May 11, 2022 路 22 min 路 Harry Gill  |    

Programming PIC32 Microcontroller with Rust

For a while I wanted to get back into making some projects with microcontrollers. Last time I touched any microcontroller code was a few years back when I tried to make a heating regulator for a friend with Arduino Nano . My friend was interested in programming, he would come over at night and we hacked on this little thing for some time. We bumped into some problems with the power supply as it would not behave properly when we used a random old DC adapter....

October 9, 2021 路 10 min 路 Harry Gill  |    

Reverse engineering a USB device with Rust

A few weeks ago, I built a new workstation with somewhat beefy AMD Ryzen 3950x CPU and got a bit over-excited with tuning it and getting the max (trying to reduce rust compile times) out of it 馃槄. One thing led to another and I ended up with a Corsair H150i RGB PRO XT AIO to keep this thing cool enough. Everything worked well until I found out that Corsair does not provide any support for Linux 馃檮....

July 26, 2020 路 14 min 路 Harry Gill  |    

Auth Web Microservice with rust using Actix-Web 4.0 - Complete Tutorial

Updated (March, 2022) Updated to actix-web-4.0 Updated (October, 2020) Updated to actix-web-3.1 Updated (September, 2020) Updated to async/await actix-web-2.0 What? We are going to create a web-server in rust that only deals with user registration and authentication. I will be explaining the steps in each file as we go. The complete project code is here repo . Please take all this with a pinch of salt as I鈥檓 a still a noob to rust 馃槈....

June 9, 2019 路 21 min 路 Harry Gill  |    

Creating tide (馃寠) web-server linux (.deb) binary with rust

What?? Updated: 2020-06-24 We are going to make a demo linux web-server with systemd , config file and installable .deb binary in rust. I have been creating web-servers in Node.js for a while. When it comes to running it in production almost always I end up using a solution like pm2 or nodemon to keep the service up and use nginx or apache as reverse proxy to that service. This tutorial is written for people who are fairly new to rust and linux....

January 29, 2019 路 7 min 路 Harry Gill  |    

Introducing 'sparkpost' a Rust Crate for email API

Rust is an enjoyable language, and I have been experimenting with it for a some time. I started with creating a few web servers using different crates including rocket and actix. I needed to use an email api to send messages from the backend to either myself or the user. I have used Sparkpost as an email service for such purpose in some of my nodejs apps. Having not found any rust API lib for it I decided to create one for myself....

October 7, 2018 路 3 min 路 Harry Gill  |