This a cargo program that allows you to convert your Rust programs into AppImages.
appimagetool
is in your path. It can be downloaded from hereshell
cargo install cargo-appimage
cd
inside of the root directory of your crate and create an icon called icon.png
(optional) create a section in your Cargo.toml similar to the following
with any additional assets to add to the AppImg:
toml
[package.metadata.appimage]
assets = ["images", "sounds"]
(optional) By default, cargo-appimage will embed all the shared objects your executable uses into the appimage. To not do this, create a section in your Cargo.toml similar to the following
with:
toml
[package.metadata.appimage]
link_deps = false
run this command
shell
cargo appimage
shell
cargo appimage --features=min