File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 36
36
//!
37
37
//! # Implementation
38
38
//!
39
- //! This crate is a lightweight wrapper over tokio-postgres. The `tokio_postgres::Connection` is spawned onto an
40
- //! executor, and the `tokio_postgres::Client` is wrapped in the `postgres::Client`, which simply waits on the futures
41
- //! the nonblocking client creates.
42
- //!
43
- //! # Runtime
44
- //!
45
- //! A client can be constructed directly from a `tokio-postgres` client via a `From` implementation, but the `runtime`
46
- //! Cargo feature (enabled by default) provides a more convenient interface. By default, connections will be spawned
47
- //! onto a static tokio `Runtime`, but a custom `Executor` can also be used instead.
39
+ //! This crate is a lightweight wrapper over tokio-postgres. The `postgres::Client` is simply a wrapper around a
40
+ //! `tokio_postgres::Client` along side a tokio `Runtime`. The client simply blocks on the futures provided by the async
41
+ //! client.
48
42
//!
49
43
//! # SSL/TLS support
50
44
//!
You can’t perform that action at this time.
0 commit comments