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
#[cfg(feature = "test-suite")]
#[macro_use]
extern crate indradb;

tonic::include_proto!("indradb");

pub use bulk_insert_item::Item as BulkInsertItemVariant;
pub use indra_db_client::IndraDbClient as ProtoClient;
pub use query::Query as QueryVariant;
pub use query_output_value::Value as QueryOutputValueVariant;

mod converters;
pub use converters::*;

#[cfg(feature = "client")]
mod client;
#[cfg(feature = "client")]
pub use client::{Client, ClientError};

#[cfg(feature = "server")]
mod server;
#[cfg(feature = "server")]
pub use server::{run as run_server, run_with_plugins as run_server_with_plugins, Server};

#[cfg(feature = "test-suite")]
pub mod tests;