Skip to main content

kdb_connection/
lib.rs

1#![doc = include_str!("../README.MD")]
2
3mod connection;
4mod dbc;
5mod errors;
6#[cfg(feature = "http")]
7mod http;
8#[cfg(feature = "mqtt")]
9mod mqtt;
10pub mod prelude;
11pub mod queries;
12#[cfg(test)]
13pub(crate) mod test;
14pub(crate) mod value;
15
16pub use crate::prelude::*;
17
18/// Use HTTP to connect to the kDB Server
19#[cfg(feature = "http")]
20pub type HttpConnection = http::Connection;
21
22/// Use MQTT to connect to the kDB Server
23#[cfg(feature = "mqtt")]
24pub type MqttConnection = mqtt::Connection;
25
26pub use {
27    connection::Connection,
28    value::{Value, ValueArray, ValueHash},
29};