📦

snapcraft-rust-example

By Alec Brown

View on Snapcraft.io
Versionv0.4.3
Revision155
Size0.2 MB
LicenseApache-2.0
Confinementstrict
Basecore20

Snapcraft Rust Example


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/ ).

Update History

v0.4.3 (155)
13 Dec 2025, 09:47 UTC

Published20 Jan 2023, 14:37 UTC

Last updated28 Nov 2025, 23:32 UTC

First seen13 Dec 2025, 09:47 UTC