Programming, Cloudflare, Rust, Serverless, Workers.
auto-incrementing index together into a custom struct, there is already a better solution: IndexMap. IndexMap is a drop-in replacement for a HashMap that preserves ordering and provides a way to get an index of any element and vice versa - exactly what we needed. After replacing a HashMap in the