diff --git a/src/lib.rs b/src/lib.rs index ad13cb0..fe292d7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,19 +32,19 @@ pub mod built_info { use crate::core_commands::*; -type Pool = diesel::r2d2::Pool>; +pub type ManifoldDatabasePool = diesel::r2d2::Pool>; pub struct Db { - pool: Pool, + pool: ManifoldDatabasePool, } impl Deref for Db { - type Target = Pool; + type Target = ManifoldDatabasePool; fn deref(&self) -> &Self::Target { &self.pool } } -struct ManifoldDatabase; +pub struct ManifoldDatabase; impl TypeMapKey for ManifoldDatabase { type Value = Arc>;