In Rust, when we try to allocate memory, the behaviour of the default allocator in case of error is to panic. In order to make horust more resilient to those edge cases, it would be nice to get rid of all the heap allocations.
I'm not sure how to tackle this, but for sure some research will need to be done in order to figure how to tackle this.