> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pocketbyte.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Coding in Rust

> A brief look at the possibilities of embedded Rust.

<Note>
  This is just an idea. It hasn't been tested yet.
</Note>

The [esp-idf-sys crate](https://github.com/esp-rs/esp-idf-sys) provides Rust bindings for the ESP-IDF. \
\
This crate also allows you to generate Rust bindings for custom ESP-IDF components, such as the Pocketbyte C Library.

So, theoretically, you could use this crate to code your own Pocketbyte apps entirely in Rust, which would offer major quality of life enhancements as well as compile-time memory safety.
