I'm actually working on a similar project (also in Rust) but targeting interactive use and differing environments. It's a tool I created for myself because I was tired of hand crafting curl commands and forgetting which env variables are set to what.
It is still very young but I'll link it anyway: https://github.com/mcastorina/repost