Simple no_std-compatible helper for the Quake 2 PAK format.
Add to your Cargo.toml
:
toml
rpak = "0.1"
The "std" feature is enabled by default, for no_std environments (only where
alloc
is available), use:
toml
rpak = { version = "0.1", default-features = false }
To load an archive:
```rust use rpak::PakArchive;
let mut data: Vec
let archive = PakArchive::from_bytes(&data[..])?; assert!(archive.files.len() > 0); ```
MIT