1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
#![cfg_attr(feature = "docs", feature(external_doc))]
#![cfg_attr(feature = "docs", doc(include = "../README.md"))]
#![cfg_attr(feature = "docs", warn(missing_docs))]

mod async_ext;
mod pool;

#[doc(inline)]
pub use pool::{builder, make_pool, Pool, WrapConnection};

#[doc(inline)]
pub use diesel::r2d2::ConnectionManager;

/// preload ext traits.
pub mod preload {
    #[doc(inline)]
    pub use crate::async_ext::SqlQuery;

    #[doc(inline)]
    pub use crate::pool::AsyncPool;
}