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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright (c) 2018-2023, agnos.ai UK Ltd, all rights reserved.
//---------------------------------------------------------------
#![feature(rustc_private)]
#![feature(ptr_metadata)]
#![doc = include_str!("../README.md")]

extern crate core;

pub use {
    class_report::ClassReport,
    connectable_data_store::ConnectableDataStore,
    cursor::{Cursor, CursorRow, OpenedCursor},
    data_store::DataStore,
    data_store_connection::DataStoreConnection,
    graph_connection::GraphConnection,
    license::{find_license, RDFOX_DEFAULT_LICENSE_FILE_NAME, RDFOX_HOME},
    mime::Mime,
    namespaces::{Namespaces, NamespacesBuilder},
    parameters::{DataStoreType, FactDomain, Parameters, PersistenceMode},
    role_creds::RoleCreds,
    server::Server,
    server_connection::ServerConnection,
    statement::Statement,
    streamer::Streamer,
    transaction::Transaction,
};

mod class_report;
mod connectable_data_store;
mod cursor;
mod data_store;
mod data_store_connection;
mod exception;
mod graph_connection;
mod license;
mod namespaces;
mod parameters;
mod role_creds;
mod server;
mod server_connection;
mod statement;
mod streamer;
mod transaction;

#[allow(dead_code)]
#[allow(non_camel_case_types)]
#[allow(non_snake_case)]
mod rdfox_api {
    include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
}