1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-04-22 12:47:45 +00:00

Fix unshield issues finally, bump to 0.1.2

This commit is contained in:
Joshua Goins 2022-10-24 15:04:13 -04:00
parent 7e7ce51c83
commit daa7384d89
3 changed files with 10 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "physis" name = "physis"
version = "0.1.1" version = "0.1.2"
authors = ["Joshua Goins <josh@redstrate.com>"] authors = ["Joshua Goins <josh@redstrate.com>"]
edition = "2021" edition = "2021"
description = "Interact with XIV game data." description = "Interact with XIV game data."
@ -15,6 +15,12 @@ readme = "README.md"
name = "physis_benchmark" name = "physis_benchmark"
harness = false harness = false
[build-dependencies]
system-deps = "6"
[package.metadata.system-deps]
libunshield = "1.4"
[dev-dependencies] [dev-dependencies]
walkdir = "2" walkdir = "2"
hmac-sha512 = "1" hmac-sha512 = "1"

3
build.rs Normal file
View file

@ -0,0 +1,3 @@
fn main() {
system_deps::Config::new().probe().unwrap();
}

View file

@ -34,7 +34,6 @@ struct Unshield {
_private: [u8; 0], _private: [u8; 0],
} }
#[link(name = "unshield")]
extern "C" { extern "C" {
fn unshield_open(filename: *const c_char) -> *mut Unshield; fn unshield_open(filename: *const c_char) -> *mut Unshield;
fn unshield_close(unshield: *mut Unshield); fn unshield_close(unshield: *mut Unshield);