andy-leezard / goingmerry

Desktop image viewer app build on Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Goingmerry

standalone MacOS dmg

Is my second Rust based side-project for MacOS.

This application uses Slint for the user interface.

Usage

  1. Install Rust by following the Rust Getting Started Guide. Once this is done, you should have the rustc compiler and the cargo build system installed in your path.
  2. Install cargo-generate
    cargo install cargo-generate
    
  3. Set up a sample project with this template
    cargo generate --git https://github.com/slint-ui/slint-rust-template --name my-project
    cd my-project
    
  4. Build with cargo
    cargo build
    
  5. Run the application binary
    cargo run
    

It is recommended to use an IDE for development, along with the LSP-based IDE integration for .slint files.

You can also load this project directly in Visual Studio Code and install our Slint extension.

Package the application using cargo-packager

Details are here

cargo install cargo-packager --locked

With an example for a slint app here

cargo r -p cargo-packager -- -p goingmerry --release

About

Desktop image viewer app build on Rust

License:MIT License


Languages

Language:Rust 56.0%Language:Slint 44.0%