1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//! # The database (`*.fdb`) file format used for the core database (`CDClient`)
//!
//! The game client is published with a copy of the core game database. This copy
//! resides in `/res/CDClient.fdb` in an unpacked client. The file uses a custom
//! database format which is essentially a list of hash maps.
//!
//! If you just want to load the database from a file, use the following:
//!
//! ```rust
//! use assembly::fdb::core::Schema;
//!
//! match Schema::try_from("some/path") {
//!     Ok(schema) => {...},
//!     Err(error) => {...},
//! }
//! ```

pub mod core;
/// Implementations for iterators on the data structures.
pub mod iter;
/// Reading of the database file.
pub mod io;
/// The data structures that make up the file.
pub mod file;
/// Parser functions for reading an FDB file.
pub mod parser;

pub mod reader;

pub mod sysdiagram;

pub use self::core::Schema;