[package] name = "benilla-mpq" version.workspace = true edition.workspace = true license.workspace = true description = "Read-only MPQ archive reader for WoW 1.12.1 (build 5875)" [lints] workspace = true [dependencies] # Bounds-checked byte readers and the allocation cap on the header, block table and sectors. benilla-bytes = { path = "../benilla-bytes" } # Inflate for the ZLIB (0x02) sector codec, on its default pure-Rust `miniz_oxide` backend. Do not # switch backends: `flate2`'s *compressor* builds `CMSG_AUTH_SESSION`'s addon block, and # `miniz_oxide` reproduces retail 1.12.1's zlib stream byte for byte there # (`benilla-protocol/tests/client.rs`'s `client_bodies_golden`), which `zlib-rs` does not. Measured # as the faster inflate — 5.24 ms -> 3.80 ms on this install's 1.4 MB character skin — and declined # for that: the wire shape is the reference's, and a read is not. flate2 = "1.1"