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.
This commit is contained in:
Nick Alexander 2018-07-03 14:18:06 -07:00
parent 1c0602fa00
commit 2ab481f83e

View file

@ -34,18 +34,20 @@ extern crate mentat_tolstoy;
pub use mentat_core::{ pub use mentat_core::{
Attribute, Attribute,
Entid,
DateTime,
HasSchema,
KnownEntid,
Keyword,
Schema,
Binding, Binding,
DateTime,
Entid,
HasSchema,
Keyword,
KnownEntid,
Schema,
StructuredMap,
TxReport, TxReport,
TypedValue, TypedValue,
Uuid,
Utc, Utc,
Uuid,
ValueType, ValueType,
now,
}; };
pub use mentat_query::{ pub use mentat_query::{
@ -109,7 +111,13 @@ pub use errors::{
Result, Result,
}; };
pub use edn::ParseError; pub use edn::{
FromMicros,
FromMillis,
ParseError,
ToMicros,
ToMillis,
};
pub use mentat_db::DbError; pub use mentat_db::DbError;
pub use mentat_query_algebrizer::AlgebrizerError; pub use mentat_query_algebrizer::AlgebrizerError;
pub use mentat_query_projector::ProjectorError; pub use mentat_query_projector::ProjectorError;