You can build the Rust code both with bazel and with cargo. The CI will run both builds and ensure neither one is broken. Easiest way to profile memory usage is to use bytehound. It is a tool that can ...