Rust version of midgar project (nami-doc's project in C)