Expose mentat_core::{TypedValue,ValueType} and conn::{Conn,Metadata}. (#443)
This commit is contained in:
parent
523d5ea5f1
commit
059b9d1182
1 changed files with 10 additions and 0 deletions
10
src/lib.rs
10
src/lib.rs
|
@ -40,6 +40,11 @@ pub fn get_connection() -> Connection {
|
||||||
return Connection::open_in_memory().unwrap();
|
return Connection::open_in_memory().unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub use mentat_core::{
|
||||||
|
TypedValue,
|
||||||
|
ValueType,
|
||||||
|
};
|
||||||
|
|
||||||
pub use mentat_db::{
|
pub use mentat_db::{
|
||||||
new_connection,
|
new_connection,
|
||||||
};
|
};
|
||||||
|
@ -53,6 +58,11 @@ pub use query::{
|
||||||
q_once,
|
q_once,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pub use conn::{
|
||||||
|
Conn,
|
||||||
|
Metadata,
|
||||||
|
};
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use edn::symbols::Keyword;
|
use edn::symbols::Keyword;
|
||||||
|
|
Loading…
Reference in a new issue