Skip to content

mardiros/rustaman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rustaman

dependency status

A Template based HTTP client.

Status

unstable/under development

Install on Archlinux

You can install the package rustaman-git from AUR.

Install from source

You must have GTK 4 installed on your OS to get it working. The GTK SourveView 5 has to be installed too.

Development Environment Setup for Archlinux

sudo pacman -Sy gtk4 gtksourceview5 openssl

Development Environment Setup for Ubuntu

You must have libglib2.0-dev, libcairo2-dev,libpango1.0-dev,libgraphene-1.0-dev, libgdk-pixbuf2.0-dev,libgtk-4-dev,libadwaita-1-dev,libgtksourceview-5-dev installed on your OS to get it working

sudo apt-get update
sudo apt-get install libglib2.0-dev \
    libcairo2-dev  \
    libpango1.0-dev  \
    libgraphene-1.0-dev  \
    libgdk-pixbuf2.0-dev  \
    libgtk-4-dev  \
    libadwaita-1-dev  \
    libgtksourceview-5-dev 

Clone the repository

    git clone https://github.com/mardiros/rustaman.git
    cd rustaman

Copy assets for syntax highlighting

On Linux

    mkdir -p ~/.config/rustaman
    cp assets/* ~/.config/rustaman

On MacOS

    mkdir $HOME/Library/Preferences/rustaman
    cp assets/* $HOME/Library/Preferences/rustaman

Build

    cargo build

Or in release mode:

    cargo build --release

Run with logging info

    RUST_BACKTRACE=1 RUST_LOG=rustaman=debug cargo run

Or in release mode with the error level:

    RUST_BACKTRACE=1 RUST_LOG=rustaman=error cargo run --release