Crates.io | wad-rs |
lib.rs | wad-rs |
version | 0.2.0 |
source | src |
created_at | 2020-02-21 19:14:04.235233 |
updated_at | 2020-06-25 19:01:13.475117 |
description | Parsing library for the WAD file format |
homepage | |
repository | https://gitlab.com/smallglitch/wad.rs.git |
max_upload_size | |
id | 211276 |
size | 22,455 |
wad-rs
is a parser for WAD files which are used by, for example, games running on the DOOM engine
Resources:
Usage:
use wad_rs::Wad;
use std::{fs::File, io::prelude::*};
fn main() {
let mut data = Vec::new();
File::open("[Path to WAD]").read_to_end(&mut data).unwrap();
let parsed_wad = Wad::parse(data).unwrap();
println!("WAD type: {}", parsed_wad.wad_type());
}
Features:
parallel
: This feature parses the file using Rayon