goldforge 0.8.1

Library for handling file formats used by GoldSrc and related engines.
Documentation
// Copyright 2025-2026 Gabriel Bjørnager Jensen.
//
// This Source Code Form is subject to the terms of
// the Mozilla Public License, v. 2.0. If a copy of
// the MPL was not distributed with this file, you
// can obtain one at:
// <https://mozilla.org/MPL/2.0/>.

//! WAD facilities

mod build_error;
mod builder;
mod compression;
mod decode_error;
mod ffi;
mod lump;
mod lump_descriptor;
mod lump_type;
mod lumps;
mod raw_header;
mod raw_lump;
mod raw_lump_slice;
mod raw_lump_slice_iter;
mod tag;
mod wad;

pub use compression::Compression;
pub use lump::Lump;
pub use lump_type::LumpType;
pub use decode_error::DecodeError;
pub use lumps::Lumps;
pub use wad::Wad;

#[cfg(feature = "alloc")]
pub use build_error::BuildError;

#[cfg(feature = "alloc")]
pub use builder::Builder;

#[cfg(feature = "alloc")]
pub use lump_descriptor::LumpDescriptor;

use raw_header::RawHeader;
use raw_lump::RawLump;
use raw_lump_slice::RawLumpSlice;
use raw_lump_slice_iter::RawLumpSliceIter;
use tag::Tag;