indradb/
lib.rs

1//! IndraDB: a graph datastore.
2//!
3//! IndraDB is broken up into a library and an application. This is the
4//! library, which you would use if you want to create new datastore
5//! implementations, or plug into the low-level details of IndraDB. For most
6//! use cases, you can use the application, which exposes an API and scripting
7//! layer.
8
9#![cfg_attr(feature = "bench-suite", feature(test))]
10
11#[cfg(feature = "bench-suite")]
12extern crate test;
13
14#[cfg(feature = "test-suite")]
15#[macro_use]
16pub mod tests;
17
18#[cfg(feature = "bench-suite")]
19#[macro_use]
20pub mod benches;
21
22mod database;
23mod errors;
24mod memory;
25mod models;
26pub mod util;
27
28pub use crate::database::*;
29pub use crate::errors::*;
30pub use crate::memory::*;
31pub use crate::models::*;
32
33#[cfg(feature = "rocksdb-datastore")]
34mod rdb;
35
36#[cfg(feature = "rocksdb-datastore")]
37pub use crate::rdb::RocksdbDatastore;