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:
parent
7e7ce51c83
commit
daa7384d89
3 changed files with 10 additions and 2 deletions
|
@ -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
3
build.rs
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
system_deps::Config::new().probe().unwrap();
|
||||||
|
}
|
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue