Install latest/stable of snapcraft-rust-example
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install rust-example
Don't have snapd? Get set up for snaps.
Snapcraft example application built with the rust snapcraft crate that shows output from some of the crate's features.
This is an example application for a Rust crate that provides access to some of the snapcraft environment. The application is an displays the values of a number of environment variables (see: https://snapcraft.io/docs/environment-variables ) that your Snap exposes to all contained applications, and is an example of how you can add additional functionality and context if your application has be deployed via Snap.
For more information on the API, see the crate at crates.io (see: https://crates.io/crates/snapcraft ) and docs.rs (see: https://docs.rs/snapcraft/latest/snapcraft/ ).
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.