hff_core/
lib.rs

1//! HFF Core
2//! Contains the internal structure of HFF and basic
3//! serialization abilities.
4#![warn(missing_docs)]
5
6// Endian utilities.
7mod endian;
8pub use endian::*;
9
10// The crate error and result types.
11mod error;
12pub use error::{Error, Result};
13
14// We can use a number of different identification
15// schemes within tables and chunks.  Different
16// identifiers have different purposes.
17mod identifier;
18pub use identifier::*;
19
20// The eight character code type.
21mod ecc;
22pub use ecc::Ecc;
23
24// File format versioning.
25mod version;
26pub use version::Version;
27
28// The file header.
29mod header;
30pub use header::Header;
31
32// A table in the structure.
33mod table;
34pub use table::Table;
35
36// A chunk in the structure.
37mod chunk;
38pub use chunk::Chunk;
39
40// Helper for full file reading.
41mod chunk_cache;
42pub use chunk_cache::ChunkCache;
43
44// Read support.
45pub mod read;
46
47// Write support.
48pub mod write;
49
50// Information about metadata or chunk data.
51mod content_info;
52pub use content_info::ContentInfo;
53
54// General utilities.
55pub mod utilities;
56
57// Re-export byte order.
58pub use byteorder;
59
60// Re-export uuid.
61pub use uuid;