Topic: rust

This page lists all of the content under the rust topic.

Describing binary data with Deku

Recently we've been diving into Deku, both working with it to implement an NVMe-MI emulator and various PLDM specifications, and working on it to bend it to our needs.

It's a project that sits in an interesting niche for embedded and systems work - providing declarative tools for bespoke communication and storage formats. As a small demonstration we'll explore using it to parse some ELF headers.

Expanding Deku

Deku is an open-source Rust crate which simplifies the process of serialisation and deserialisation of binary data structures, preventing tedious manual parser-writing and inevitable bugs.

Andrew at Code Construct has contributed to the project, expanding it for use in embedded systems.

Contributing to this project is part of our support for the open-source software community. We're proud to be growing the capacity for ergonomic and reliable code in embedded systems.

MCTP + Rust: new crates for platform MCTP infrastructure

At Code Construct, we have been working on a suite of open source Management Component Transport Protocol (MCTP) infrastructure in Rust, to support our clients' platform bringup projects. We have since published that code to our github repositories - so have provided a brief tour of those new repositories here.

Overall, the source code below implements a set of tooling for implementing MCTP-based communication on Linux (where we have core support for MCTP in the operating system) and on embedded systems (where we do not). For the latter cases, we have a stand-alone MCTP stack implementation, portable enough for general microcontroller usage.

All of the code referenced below is now available in our github repositories, and is under active development. Read on for details!