Skip to content

Commit

Permalink
♻️ Restructure whole project (#55)
Browse files Browse the repository at this point in the history
* ♻️ Refactor all download operations

also reorganized the whole project

* 🏗️ Make extract optional

* ⬆️ deps

* ⬆️ libcgss -> libacb

* 📝 add docs for Asset

* 🎨 make manifest data attribute more redable

* 🥅 handle download error

* 🎨 include sort

* 🚨 clippy

* 🔖 add libacb version in acb version

* 🐛 fix manifest deserialization

* 🎨 fmt

* 📝 add more docs

* 🥅 handle thread join errors

* 🔊 better logging

* ✨ add `--manifest` option for download

* 👷 update CI windows build command

* 📝 fix examples
  • Loading branch information
nicks96432 authored Jan 10, 2025
1 parent ab67a7b commit 0b4e3f9
Show file tree
Hide file tree
Showing 59 changed files with 2,254 additions and 1,482 deletions.
6 changes: 6 additions & 0 deletions .cargo/windows-config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[env]
CFLAGS = "/MT"
CXXFLAGS = "/MT"

[target.'cfg(all(target_os = "windows", target_env = "msvc"))']
rustflags = ["-C", "target-feature=+crt-static"]
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,13 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Build (Windows)
if: ${{ contains('Windows', runner.os) }}
run: |
cargo --config .\cargo\windows-config.toml build --release
- name: Build
if: ${{ !contains('Windows', runner.os) }}
run: |
cargo build --release
Expand Down
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "acb/libcgss"]
path = acb/libcgss
url = https://github.com/nicks96432/libcgss.git
[submodule "acb/libacb"]
path = acb/libacb
url = https://github.com/nicks96432/libacb
Loading

0 comments on commit 0b4e3f9

Please sign in to comment.