From 2ab481f83ec0fe7b91a198f8185f8521d588a205 Mon Sep 17 00:00:00 2001 From: Nick Alexander Date: Tue, 3 Jul 2018 14:18:06 -0700 Subject: [PATCH] Part 2: Expose time related things at top-level. Perhaps we actually want to subdivide the top-level namespace so that there is a `mentat::time` module, but I'd prefer to make part of the process of fixing the public API as we get ready to christen version 1.0. --- src/lib.rs | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f1da47a9..35eafb05 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -34,18 +34,20 @@ extern crate mentat_tolstoy; pub use mentat_core::{ Attribute, - Entid, - DateTime, - HasSchema, - KnownEntid, - Keyword, - Schema, Binding, + DateTime, + Entid, + HasSchema, + Keyword, + KnownEntid, + Schema, + StructuredMap, TxReport, TypedValue, - Uuid, Utc, + Uuid, ValueType, + now, }; pub use mentat_query::{ @@ -109,7 +111,13 @@ pub use errors::{ Result, }; -pub use edn::ParseError; +pub use edn::{ + FromMicros, + FromMillis, + ParseError, + ToMicros, + ToMillis, +}; pub use mentat_db::DbError; pub use mentat_query_algebrizer::AlgebrizerError; pub use mentat_query_projector::ProjectorError;