diff --git a/Cargo.toml b/Cargo.toml index 539d02d..15f54fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,10 +11,10 @@ flate2 = "1" serde = { version = "1", features = ["derive"] } serde_json = "1" sha3 = "0.10" +sqpack = { git = "https://git.anna.lgbt/ascclemens/sqpack-rs", features = ["read", "write"] } tempfile = "3" thiserror = "1" zip = { version = "0.6", default-features = false, features = ["deflate"] } -sqpack = { git = "https://git.anna.lgbt/ascclemens/sqpack-rs", features = ["read", "write"] } [dev-dependencies] criterion = "0.4" diff --git a/examples/extract.rs b/examples/extract.rs index bb19833..d99c268 100644 --- a/examples/extract.rs +++ b/examples/extract.rs @@ -78,7 +78,7 @@ pub fn main() { // // all_files.sort_unstable_by_key(|&file| file.mod_offset); // -// let mut buf = [0; 4092]; +// let mut buf = [0; 4096]; // for file in all_files { // data_file.read = 0; // let path = &file.full_path;