Rust access to the Snapcraft Environment

If you are releasing a rust application and want to programatically know if you are in that environment, and access some of the variables in that environment, I have released a rust crate for snapcraft that may help you, along with an example test application. I hope this helps someone:

snapcraft crate

1 Like