Skip to content

Commit

Permalink
display fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSolanaceae committed Oct 24, 2024
1 parent 31543e9 commit 92ee1b0
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 58 deletions.
30 changes: 2 additions & 28 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust Build
name: Buildchecks

on:
push:
Expand All @@ -15,38 +15,12 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Cache cargo registry
uses: actions/cache@v3
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-
- name: Cache cargo index
uses: actions/cache@v3
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-index-
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy, rustfmt
override: true

- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose

- name: Run clippy
run: cargo clippy -- -D warnings

- name: Check formatting
run: cargo fmt -- --check
run: cargo test --verbose
50 changes: 26 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 9 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "discord-imhex"
version = "1.0.1"
version = "1.0.2"
edition = "2021"
authors = ["Solanaceae <https://solanaceae.xyz>"]
description = "A Discord Rich Presence Client for ImHex, not reliant on the ImHex API."
Expand All @@ -19,11 +19,15 @@ lazy_static = "1.5.0"
log = "0.4.22"
open = "5.3.0"
systray = "0.4.0"
tray-icon = "0.19.0"
tray-icon = "0.19.1"
winapi = { version = "0.3.9", features = ["winuser", "winbase"] }
reqwest = { version = "0.12.8", features = ["json"] }
tokio = { version = "1.40.0", features = ["full"] }
serde = { version = "1.0.210", features = ["derive"] }
tokio = { version = "1.41.0", features = ["full"] }
serde = { version = "1.0.213", features = ["derive"] }

[build-dependencies]
winres = "0.1.12"
winres = "0.1.12"

[dev-dependencies]
tempfile = "3.13.0"
regex = "1.11.0"
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//#![windows_subsystem = "windows"]
#![windows_subsystem = "windows"]

mod imhex;
mod tray;
Expand Down

0 comments on commit 92ee1b0

Please sign in to comment.