1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-20 03:37:47 +00:00
Commit graph

8 commits

Author SHA1 Message Date
d58a216462 Shrink the dependency and feature complexity, auto-cleanup and more
We had a few odd dependencies that caused nothing but pain in dependent projects
like libphysis. One of these was libunshield (a C library) that our game_install
feature used, but to be honest this was the wrong library to put this code. It
was really only ever used by Astra, and should live there instead - there's no
reason to have it shared between applications (and it's small enough to be
copied if *you* need it.) Also that also killed the system-deps dependency which
had a significant impact on our build time.

Another dependency was replaced: libz-sys. This is replaced by the pure Rust
libz-rs (through libz-rs-sys) which should simplify deploying physis without
having to worry about manually linking libz or other nonsense. Some leftover
copied code from flate2 can also be removed.

I also removed the visual_data feature as Astra ended up using it anyway, and
the distinction doesn't make much sense now. It was previously to gate some
dependencies needed for visual data extraction, but the bitflags and half crates
are small. I can look into splitting the crate up into more features if needed
later.

A dependency that was erroneously included in the refactoring was quote, which
has been removed. Also ran cargo fmt, clippy too.
2025-03-11 16:29:24 -04:00
f83b2013fa Support WebAssembly 2024-11-01 16:50:37 -04:00
1b055b3f7a Switch to libz-ng-sys
This is supposedly faster, and more importantly has less build
dependencies.
2024-04-20 10:12:24 -04:00
86c8d6a122 Fix some lint issues 2023-09-24 15:41:05 -04:00
1eaeee32df Fix import that was destroyed by my editor 2023-08-06 08:30:30 -04:00
2000b978b3 Ensure compliance with REUSE, add to CI 2023-08-06 08:25:04 -04:00
d9e79e563a Reformat code 2022-08-16 11:52:07 -04:00
389c3fe00b Add initial files 2022-07-19 19:29:41 -04:00