Skip to content

Commit

Permalink
up: bump SpacemandDMM and other rust deps
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaiR committed Jul 5, 2024
1 parent 29722e7 commit 6053989
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 30 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [ push, pull_request ]
jobs:
lint-source-code:
name: Lint Source Code
runs-on: macos-11 # use macOS to avoid installation of desktop deps
runs-on: macos-latest # use macOS to avoid installation of desktop deps
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -23,14 +23,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04, windows-2019, macos-11 ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
include:
- os: ubuntu-22.04
rust-target: 1.69-x86_64-unknown-linux-gnu
- os: windows-2019
rust-target: 1.69-x86_64-pc-windows-gnu
- os: macos-11
rust-target: 1.69-x86_64-apple-darwin
- os: ubuntu-latest
rust-target: 1.79-x86_64-unknown-linux-gnu
- os: windows-latest
rust-target: 1.79-x86_64-pc-windows-gnu
- os: macos-latest
rust-target: 1.79-x86_64-apple-darwin
runs-on: ${{ matrix.os }}
name: Build - ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:

release:
name: Release
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/v') # if tag starts with "v"
steps:
Expand Down
2 changes: 1 addition & 1 deletion internal/rsc/txt/about.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
StrongDMM %VERSION%
Copyright (C) 2019-2023, SpaiR
Copyright (C) 2019-2024, SpaiR

This program comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under the conditions of the GNU
Expand Down
26 changes: 13 additions & 13 deletions third_party/sdmmparser/src/Cargo.lock

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

12 changes: 6 additions & 6 deletions third_party/sdmmparser/src/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
[package]
name = "sdmmparser"
version = "2.0.0"
rust-version = "1.69.0"
rust-version = "1.79.0"

[lib]
name = "sdmmparser"
path = "lib.rs"
crate-type = ["staticlib"]

[dependencies]
serde = "1.0.197"
serde_derive = "1.0.137"
serde_json = "1.0.109"
png = "0.17.9"
serde = "1.0.203"
serde_derive = "1.0.203"
serde_json = "1.0.120"
png = "0.17.13"

[dependencies.dreammaker]
git = "https://github.com/SpaiR/SpacemanDMM"
rev = "7dc22d522bdda6370516c8de9092d446fe5017a5"
rev = "367bcdd75f736a91ab046d616ce56f61fb835a94"
package = "dreammaker"

[profile.release]
Expand Down
2 changes: 1 addition & 1 deletion third_party/sdmmparser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub extern fn SdmmParseIconMetadata(native_path: *const c_char) -> *const c_char
#[no_mangle]
#[allow(non_snake_case)]
pub extern fn SdmmFreeStr(native_str: *mut c_char) {
unsafe { CString::from_raw(native_str) };
unsafe { let _ = CString::from_raw(native_str); };
}

/// Convert a native string to a Rust string
Expand Down

0 comments on commit 6053989

Please sign in to comment.