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
//! # 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,ignore
//! use assembly::fdb::core::Schema;
//!
//! match Schema::try_from("some/path") {
//!     Ok(schema) => {...},
//!     Err(error) => {...},
//! }
//! ```

pub mod core;
#[doc(hidden)]
pub mod iter;
pub mod io;
pub mod file;
pub mod parser;
pub mod reader;
pub mod query;
pub mod builder;

pub use self::core::Schema;