I have a struct which consists of 29 f64 fields, all but 2 of which are Optional. Serde works great, but it produces a lot of code, all up 19.5KB for this struct. Is that expected? It seems like a lot for what is a very simple and repetitive struct. I made a manual deserialiser based on the example. And while it doesn't quite have all the same error protections (I'm not doing anything if the two non-optional fields are missing, leaving them as default values instead) it's a lot smaller, only ...| The Rust Programming Language Forum
I'm working on a driver for a device called the Tourbox, for Linux specifically. I have a working version, which uses udev rules to start the driver process whenever it detects the device connects. The issue with this approach is udev only detects the device when it's plugged in. If it's already connected at boot, nothing happens. Ideally, too, I'd rather have the driver process run constantly in the background to make configuration and error reporting more consistent. The Tourbox exposes its...| The Rust Programming Language Forum