#flatpak #gtk #cargo-subcommand #cargo-build #ui #cli

bin+lib cargo-gra

Cargo subcommand for gtk-rust-app

25 unstable releases (6 breaking)

0.6.0 Apr 23, 2023
0.5.0 Dec 29, 2022
0.4.2 Dec 18, 2022
0.4.1 Oct 30, 2022
0.2.8 Mar 29, 2022

#640 in GUI


Used in gtk-rust-app

GPL-3.0-or-later

56KB
1.5K SLoC

cargo-gra

pipeline status API crates.io

icon.svg"

cargo-gra is the CLI for gtk-rust-app.

Usage

  1. Create a project with gtk-rust-app (See gtk-rust-app)
  2. Generate build files
    cargo gra generate
    or
    cargo gra gen
    
  3. Build
    1. Either build a flatpak app in target/myapp.flatpak file
      cargo gra flatpak
      
    2. Or build a binary as usual
      cargo build --release
      

See cargo gra --help for further information.

Dependencies

~4.5–6.5MB
~129K SLoC