Development / Packaging

cargo (Rust Package Manager)

cargo publish NOT_YET_AVAILABLE

snap (Linux)

  • https://snapcraft.io/docs/rust-plugin
  • https://snapcraft.io/docs/snap-confinement

Configuration Files

  • snapcraft.yaml
  • rust-toolchain.toml

Create Package

snapcraft

Install Package

The snap have to be installed with --devmode.

sudo snap install --devmode inexor-rgf-application_0.0.0_amd64.snap

Package Information

snap info --verbose inexor-rgf-application

snapcraft.yaml Examples

  • https://github.com/lenna-project/lenna-cli/blob/7c31c71d1dd060f0c922b3f8b5e87833b5c45600/snapcraft.yaml
  • https://github.com/mimblewimble/packaging/blob/af8f34c3a3055be8907a7a2c98cbf63e23e792e3/snap/snapcraft.yaml

Debian

(TODO)

  • https://crates.io/crates/cargo-deb

RPM

(TODO)

  • https://crates.io/crates/cargo-rpm

Arch

(TODO)

  • https://crates.io/crates/cargo-arch

(Windows)

(TODO)

  • https://crates.io/crates/msi